Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Valarpirai
10 years agoNew member | Level 1
JS SDK: 500 internal server error
I am using Datastore JS SDK to store my app data in Dropbox Datastore. The dropbox server returns 500 internal server error as API response. This issue happens many times in a day. I am using the latest datastore JS SDK.
Thanks.
4 Replies
Replies have been turned off for this discussion
- Greg-DB10 years ago
Dropbox Community Moderator
Can you post the relevant code and the output you get? Also, what percent of calls are you seeing this with?
- Valarpirai10 years agoNew member | Level 1
Now, I am getting the 502 Internal Server Error. Console output.
https://api6.dropbox.com/1/datastores/await 504 (Gateway Timeout)Retrying in 85980.56405084208 ms due to error
t {method: "POST", url: " https://api.dropbox.com/1/datastores/await", status: 0, responseText: "(no response)", response: null}`
POST https://api6.dropbox.com/1/datastores/await
XMLHttpRequest cannot load https://api6.dropbox.com/1/datastores/await. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'chrome-extension://bdofodmfolkhbidlfhgfceekjheoobll' is therefore not allowed access. The response had HTTP status code 504.
Retrying in 58548.99324243888 ms due to error t {method: "POST", url: " https://api6.dropbox.com/1/datastores/await", status: 0, responseText: "(no response)", response: null}
- Valarpirai10 years agoNew member | Level 1
Console Output:
POST https://api6.dropbox.com/1/datastores/await 504 (Gateway Timeout)
XHR finished loading: POST "https://api6.dropbox.com/1/datastores/await".
Retrying in 1091.683506325353 ms due to error t {method: "POST", url: "https://api6.dropbox.com/1/datastores/await", status: 504, responseText: "{"error": "Internal Server Error"}↵", response: Object}
- Greg-DB10 years ago
Dropbox Community Moderator
We were experiencing a service disruption earlier, which could result in 502s and 504s, but that should be mostly resolved now.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!