https://slingdata.io logo
Hi @flarco! I don't know if you have
# sling-help
v
Hi @flarco! I don't know if you have time for questions like this, but I'll give it a shot. ☺️ We are using sling cli pro, and now I'm pulling data from a rest API into mssql. The provider of the API has set their token to expire after 60 minutes. I've set "expires" to 600 in the api spec (see attachment), just to be sure that we every now and then re-authenticate. However, it seems that if the process of getting data goes on for too long (more than 1h it seems), I end up with a 401. Any ideas? https://cdn.discordapp.com/attachments/1210406123744796705/1479137259063349319/bild.png?ex=69aaf16b&is=69a99feb&hm=da5ecc76596b260efb5131351cda043bde2422e7747cc2f4c6ae6474028f85fa&
f
hi @Victor J , yes i'm happy to help. looked into it and seems there is a bug with the expiration not re-injecting the correct headers. A fix was pushed and should be available in next release (target is coming Monday). If you'd like to give it a shot now, you can try the [dev build](https://github.com/slingdata-io/sling-cli?tab=readme-ov-file#automated-dev-builds). Thank you for raising this.