Time Out Errors

Community Member

Hi there! How would you recommend preventing our connections to the canvas data and canvas data 2 APIs from timing out?

We're having problems with our connections to both Canvas Data and Canvas Data 2 (CD2) timing out or throwing other errors with a high frequency. These errors include:
 -1 - Connection timed out: connect
- 503: Service Unavailable
-504: Gateway Time-out
For the CD2, we have 22 tables we call the dispatch (snapshot or incremental), status, get URL, and download File APIs on. We were only calling the auth ("get auth token") once but it would expire around an hour. We tried calling it before each table dispatch (snapshot or incremental) as well as before each get URL but nothing seems to work consistently. Any help would be much appreciated.