I have an app that used to run fine on the v1 API using xmlhttp requests. Migrating the app to v2 I can't get anything except authorization to work. The app has read/write access to its own folder only.
For example: I want to get a list of the files/folders in a folder named "Recipes" in my app folder:
I create an xmlhttp request (Browser based javascript) with
method: "POST",
url: "https://api.dropbox.com/2/files/get_metadata",
Request header: "Content-Type: "application/json",
and the posted data body is a javascript string:
{"path":"/Recipes"}
I always get a 409 error with "/path/not found" even though I can see the folder clearly in my Dropbox app.
If I try to get the file/folder list of my app's folder I get a 400 error with the message "the root folder is not supported."