We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more 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.
- Greg-DBDropbox Staff
Can you post the relevant code and the output you get? Also, what percent of calls are you seeing this with?
- ValarpiraiNew 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}
- ValarpiraiNew 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-DBDropbox Staff
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.
5,875 PostsLatest Activity: 2 years agoIf 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 or Facebook.
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!