Hello,
New to Dropbox API.
I can create folders and files, but when I try to list the contents of a folder, I get an error message. I'm particularly interested in getting the contents of the root folder, but for now, I'm just trying to test it with a specific folder I have. I'm using https://api.dropboxapi.com/2/files/list_folder, and trying to copy the documentation example exactly, like so:
--header "Authorization: Basic XXXX"
--header "Content-Type: application/json"
--data "{\"include_deleted\":false,\"include_has_explicit_shared_members\":false,\"include_media_info\":false,\"include_mounted_folders\":true,\"include_non_downloadable_files\":true,\"path\":\"/FolderTest\",\"recursive\":false}"
But I get this error, and I don't see the mistake I'm making:
{
"error" :
{
".tag" : "path",
"path" :
{
".tag" : "unsupported_content_type"
}
},
"error_summary" : "path/unsupported_content_type/.."
}
Any ideas? Thanks.