Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
sanathdevadiga
4 years agoExplorer | Level 3
How to upload file to dropbox using dropbox api
Hi all , i am integrating netsuite with dropbox to upload file from netsuite to dropbox . I have already done authentication and i am generating access token also . Now i am not getting proper api...
sanathdevadiga
4 years agoExplorer | Level 3
Hi , iam generatimg access token using refresh token only . Now file is getting uploading but when i open in dropbox it is showing currepted file its not opening. Can you help me in this . Can we add url link of file as argument ?.
And one more thing how can i add destination for uploaded file in dropbox . In /upload api there is no destination parameter .
Thank you for your response.
And one more thing how can i add destination for uploaded file in dropbox . In /upload api there is no destination parameter .
Thank you for your response.
- Здравко4 years agoLegendary | Level 20
sanathdevadiga wrote:
Hi , iam generatimg access token using refresh token only . Now file is getting uploading but when i open in dropbox it is showing currepted file its not opening. Can you help me in this . ...Following your question at all, seems you are trying guess what you need to pass instead of read the documentation. In the documentation you can read type and formatting of all possible parameters, including mandatory parameter 'path' that describe 'place' where uploaded file will reside. Just read it. Can be useful to take a look on API Explorer for easier call prototyping. Finally the file content is passed as call body, not as a link or something like. If you want to pass file as a link take a look here.
Good luck.
- sanathdevadiga4 years agoExplorer | Level 3Thank you for you valuable inputs .
Now File is getting uploaded but its content is currupted , i tried base 64 encode , and utf-8 encode .My file is in UTF -8 encoded.
May i know Which file format i have to send data to dropbox .- Здравко4 years agoLegendary | Level 20
Dropbox can support many different formarts and actually doesn't "support" anything. Tha data are transfered and store as just a bunch of bytes 😉 (i.e. whatever you are uploading, the same you will get). Most probably you have uploaded something different or not exactly the intended. Check it - try inspect what exactly you are uploading (on HTTP level) and see where is your error (befor or after that).
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!