We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
ideveloper200
6 years agoExplorer | Level 3
How to get file content using rest api?
How to get file content using rest api ?
ideveloper200
Explorer | Level 3
Hi,
Please provide me one of example because i tried with same API it did not give me files content
Greg-DB
6 years agoDropbox Staff
There's a code example for calling this endpoint using curl in the documentation, and you can also generate some code for calling it using the API v2 Explorer.
If something isn't working as expected, please share the code you're using and the unexpected error or output.
- ideveloper2006 years agoExplorer | Level 3
Hi,
i am getting content like this in error.
Please suggest me if i am doing something wrong.
- Greg-DB6 years agoDropbox Staff
The error is indicating that you're trying to parse some data as JSON, but the data isn't in a valid JSON format, so the parsing is failing.
I don't see anything that mentions Dropbox in the error screenshot, nor do I see anywhere that the stack trace in the error that references the code you posted, so I can't offer much insight. You'll need to debug your app more to track down where/why this is occuring.
- Chhavi5 years agoExplorer | Level 3
I tried same thing with xslx files . Can you help with example on that?
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 7 days agoIf 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 or Facebook.
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!