Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
We're seeing the following error when trying upload a file:
[36mbir-server-app_1 |[0m Error : { FetchError: request to https://content.dropboxapi.com/2/files/upload failed, reason: getaddrinfo EAI_AGAIN content.dropboxapi.com content.dropboxapi.com:443
[36mbir-server-app_1 |[0m at ClientRequest.<anonymous> (/usr/src/app/node_modules/cross-fetch/node_modules/node-fetch/index.js:133:11)
[36mbir-server-app_1 |[0m at ClientRequest.emit (events.js:198:13)
[36mbir-server-app_1 |[0m at TLSSocket.socketErrorListener (_http_client.js:401:9)
[36mbir-server-app_1 |[0m at TLSSocket.emit (events.js:198:13)
[36mbir-server-app_1 |[0m at emitErrorNT (internal/streams/destroy.js:91:8)
[36mbir-server-app_1 |[0m at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
[36mbir-server-app_1 |[0m at process._tickCallback (internal/process/next_tick.js:63:19)
[36mbir-server-app_1 |[0m name: 'FetchError',
[36mbir-server-app_1 |[0m message:
[36mbir-server-app_1 |[0m 'request to https://content.dropboxapi.com/2/files/upload failed, reason: getaddrinfo EAI_AGAIN content.dropboxapi.com content.dropboxapi.com:443',
[36mbir-server-app_1 |[0m type: 'system',
[36mbir-server-app_1 |[0m errno: 'EAI_AGAIN',
[36mbir-server-app_1 |[0m code: 'EAI_AGAIN' }
Not sure where to look as to find the issue. This just happens on a single server. We have a similar server that is running the same app and it works just fine.
Based on "getaddrinfo EAI_AGAIN" it looks like this is a DNS issue, so I recommend debugging the DNS setup being used by the affected server to see why it may not be able to look up the Dropbox API content server hostname. You may need to contact the administrator of your DNS server (or switch to a different one).
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!