-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Download File From Dropbox #109
Comments
|
[Cross-linking for reference: https://www.dropboxforum.com/t5/API-support/Can-t-Download-File-From-Dropbox-downloadData-With-Objective-C/m-p/211957#M10699 ] Thanks for the report. I unfortunately can't reproduce this error though, and your code looks correct. The error message itself is unfortunately also not very helpful, as it seems to be a catch-all error for unknown NSURL issues:
You mentioned that you're seeing this for both uploading and downloading, but not other calls. Uploading and downloading use api-content.dropbox.com whereas most other calls use api.dropbox.com. Is there anything on your network connection (firewall, anti-virus, proxy, etc.) that may be interfering with api-content.dropbox.com but not api.dropbox.com? (E.g., perhaps one is whitelisted somewhere but the other isn't.) |
|
Hello, Thanks for replying. I think it's because I am using a token obtained from the App Web Console during testing. I am switching to obtaining the token via the App. I will let you know if this improves the issue. |
|
Access tokens acquired via the App Console or via the app's authorization flow should be functionality equivalent. Let us know what you find though. |
|
I found out this was due to the way I was setting up DBUserClient. I switched to:
and it solved the problem. |
Hello,
I am using the following code to download files using the Vs2 API:
I receive the error:
I have checked and the file at filePath exists. Is there anything I am missing...?
Kind regards,
Joel
The text was updated successfully, but these errors were encountered: