I have a file that has three spaces in the name. When I try to use the API to download it I get a 409. I have tried encoding the spaces as %20 + and even \u0020 and it always fails with a 409. Please advise.
curl -X POST https://content.dropboxapi.com/2/files/download \ --header 'Authorization: Bearer <redacted>' \ --header 'Dropbox-API-Arg: {"path":"/DoNotDeleteFunctionalTest/TEST SPACES.txt"}'
Result:
{
"error_summary": "path/not_found/...",
"error": {
".tag": "path",
"path": {
".tag": "not_found"
}
}
}