cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Upload to a shared folder - 500 internal server error

Upload to a shared folder - 500 internal server error

Info V.1
Collaborator | Level 8

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

10 Replies 10

Re: Upload to a shared folder - 500 internal server error

Greg-DB
Dropboxer

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

 

Re: Upload to a shared folder - 500 internal server error

Greg-DB
Dropboxer

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.

Re: Upload to a shared folder - 500 internal server error

Dave K.17
New member | Level 1

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.

Re: Upload to a shared folder - 500 internal server error

Greg-DB
Dropboxer

Thanks for the report Dave! We are aware of and working on that version of the issue as well.

Re: Upload to a shared folder - 500 internal server error

Greg-DB
Dropboxer

This should be resolved now. Please let me know if you're still seeing any issues.

Re: Upload to a shared folder - 500 internal server error

Thiago Roberto
New member | Level 1

I am facing the same error now. This is the error using the java api: 

com.dropbox.core.DbxException$ServerError: {"error": "Internal Server Error"}

Re: Upload to a shared folder - 500 internal server error

Thiago Roberto
New member | Level 1

Issue was solved

Re: Upload to a shared folder - 500 internal server error

Greg-DB
Dropboxer

Thanks Thiago. This was due to a general service availability issue, and is resolved now.

Re: Upload to a shared folder - 500 internal server error

Suryakant D.
New member | Level 1

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.)

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    Suryakant D. New member | Level 1
  • User avatar
    Thiago Roberto New member | Level 1
What do Dropbox user levels mean?
Need more support?