Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Scenario,
- Create new folder test1
- Upload a file to test1 - File successfully uploaded and 200 response
- Share test1 with another user
- Upload a file to test1 - File successfully uploaded but returns 500 response
- After this even after you remove the sharing, we continue to see 500 response.
HTTP Snippet
POST /2/files/upload HTTP/1.1
Authorization: Bearer <REDACTED>
Dropbox-API-Select-User: dbmid:AACB4eHBbOAzCgSxWwzsa2BD_ASXGxP4IUM
Dropbox-API-Arg: {"mode":"add","path":"/test/secured1/somename3.docx","mute":true,"autorename":false}
Content-Length: 3554
Content-Type: application/octet-stream
Host: content.dropboxapi.com
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.3.2 (java 1.5)
Accept-Encoding: gzip,deflate
"POST /2/files/upload HTTP/1.1[\r][\n]"
"Authorization: Bearer <REDACTED>[\r][\n]"
"Dropbox-API-Select-User: dbmid:AACB4eHBbOAzCgSxWwzsa2BD_ASXGxP4IUM[\r][\n]"
"Dropbox-API-Arg: {"mode":"add","path":"/test/secured1/somename3.docx","mute":true,"autorename":false}[\r][\n]"
"Content-Length: 3554[\r][\n]"
"Content-Type: application/octet-stream[\r][\n]"
"Host: content.dropboxapi.com[\r][\n]"
"Connection: Keep-Alive[\r][\n]"
"User-Agent: Apache-HttpClient/4.3.2 (java 1.5)[\r][\n]"
"Accept-Encoding: gzip,deflate[\r][\n]"
"[\r][\n]"
…
…
"HTTP/1.1 500 Internal Server Error[\r][\n]"
"Server: nginx[\r][\n]"
"Date: Thu, 14 Jan 2016 20:40:45 GMT[\r][\n]"
"Content-Type: text/plain; charset=utf-8[\r][\n]"
"Transfer-Encoding: chunked[\r][\n]"
"Connection: keep-alive[\r][\n]"
"X-Dropbox-Request-Id: 8ce8606540accc3161d8967f72aca512[\r][\n]"
"X-Robots-Tag: noindex, nofollow, noimageindex[\r][\n]"
"[\r][\n]"
"0[\r][\n]"
"[\r][\n]"
HTTP/1.1 500 Internal Server Error
Server: nginx
Date: Thu, 14 Jan 2016 20:40:45 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked
Connection: keep-alive
X-Dropbox-Request-Id: 8ce8606540accc3161d8967f72aca512
X-Robots-Tag: noindex, nofollow, noimageindex
--
Edit: Redacted access token. -Greg
Thank you for alerting us to this problem. Dropbox engineers are aware of the problem and are working on a solution.
Apologies for any inconvenience this has caused.
By the way, for the sake of security, you should disable that access token. You can do so by revoking access to the app entirely, if the access token is for your account, here:
https://www.dropbox.com/account/security
Or, you can disable just this access token using the /disable_access_token endpoint:
https://www.dropbox.com/developers/core/docs#disable-token
We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly.
I'm encountering the same issue, just tested. Create a empty shared folder and try to upload a file immediately to it. File is uploaded successfully, but nil response and a 500 status code.
Thanks for the report Dave! We are aware of and working on that version of the issue as well.
This should be resolved now. Please let me know if you're still seeing any issues.
I am facing the same error now. This is the error using the java api:
com.dropbox.core.DbxException$ServerError: {"error": "Internal Server Error"}
Issue was solved
Thanks Thiago. This was due to a general service availability issue, and is resolved now.
I am finding similar issue. That i am trying to add a member to dropbox folder but it is throwing following error
com.dropbox.core.v2.DbxSharing$AddFolderMemberException: Exception in add_folder_member: AddFolderMemberError.{".tag":"access_error","access_error":{".tag":"invalid_id"}} (user message: Invalid shared folder ID.)
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 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!