We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
varunpareek
2 years agoExplorer | Level 3
getting error when trying to download a file via api in react native
const AccessAsync = await AsyncStorage.getItem('Access');
const ACCESS_TOKEN = AccessAsync;
const DOWNLOAD_URL = 'https://content.dropboxapi.com/2/files/download';
const DESTINATION_PATH = `$...
Greg-DB
Dropbox Community Moderator
2 years agoI see you're getting an error "The operation couldn’t be completed. Protocol error". This is not actually an error from Dropbox itself, so unfortunately we can't offer much insight on that. It looks like it may be an issue with your network connection/stack, so you may need to refer to the support resources for the platform you're using.
varunpareek
2 years agoExplorer | Level 3
First of all thanks for your reply. now i want to ask how it's possible when i upload any file on drop box using api, after that if i use this code then it's working fine and when i try this for second time it's showing error how it's possible. is there any issue with my code?
- Greg-DB2 years ago
Dropbox Community Moderator
It's not clear from this code what the issue may be. It seems like it may be a problem with the platform or network client itself.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
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!