I have been trying the OAuth api and wasn't able to get a file using the files get api as detailed here - https://www.dropbox.com/developers/core/docs#files-GET
My request looks as below
https://api-content.dropbox.com/1/files/auto/Images/thankyou.jpg
with the header - Authorization=Bearer <access-token>
I get a 404 error with the body as
{
"error": "File not found"
}
Note that the account info api call succeeds. The files api call fails.
I have tried multiple forms of the get request but all of them give the same error
https://api-content.dropbox.com/1/files/auto/APIsForDummies.pdf
and https://api-content.dropbox.com/1/files/auto/Getting Started.pdf
How should the file path be given to make the api call succeed?
Thanks