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.
Can you post the relevant code and the output you get? Also, what percent of calls are you seeing this with?
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}
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}
We were experiencing a service disruption earlier, which could result in 502s and 504s, but that should be mostly resolved now.