We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Sidwyn K.
10 years agoNew member | Level 1
Request Body: could not decode input as JSON)
Hi! Am using a simple call:
```
client.files.listFolder(path: "", recursive: false, includeMediaInfo: false, includeDeleted: false).response { response, error in
if let list...
Jeff1
10 years agoNew member | Level 1
LS,
I'm developing a mobile app with Xamarin and its trivial that Dropbox gets integrated.
Ref: https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/
Now "users/get_current_account" works like a charm, but if i try "/files/list_folder" with "{\"path\": \"\"}" as body, the response i get is "Error in call to API function "files/list_folder": request body: could not decode input as JSON", whilst using fiddler.
Am i overlooking something (obvious)?
Can someone give me more info on this?
Screenshots:
200 https://img42.com/wA7gP
400 https://img42.com/ufrLJ
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!