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