You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 29, 2021. It is now read-only.
UploadFile silently fails when Sandbox = False and your API key requires it #75
There were previous issues regarding this problem: Issue #23, #19, #10.
If you attempt to call client.UploadFile() without client.UseSandbox = true (and your API key is in sandbox/isolated mode and not full Dropbox access mode), the API call silently fails and returns an incomplete Metadata object.
The JSON response returned from the API call is swallowed silently instead of throwing an exception:
{"error": "Full Dropbox access attempt failed because this app is not configured to have full Dropbox access. Should your access type be app folder ('sandbox') instead?"}
Activity
Ayyappa-amara commentedon Aug 2, 2013
i am also facing same problem..
Please help me.
MarkMichaelis commentedon Oct 12, 2013
The same thing occurs for me.
Mark
e-tobi commentedon Sep 22, 2014
Same happens when trying to upload with a not-authenticated client:
{"error": "Authentication failed"}
No exception, UploadFile() just returns an empty MetaData object.