I have been unable to download a password protected file using the API, even with the API explorer. Specifically the endpoint /get_shared_link_file fails with the following message
curl -X POST https://content.dropboxapi.com/2/sharing/get_shared_link_file \ --header 'Authorization: Bearer <ACCESS_TOKEN>' \ --header 'Dropbox-API-Arg: {"url":"https://www.dropbox.com/s/OURFILE?dl=0","link_password":"aidenlab"}'
The error is
{ "error_summary": "shared_link_access_denied/..", "error": { ".tag": "shared_link_access_denied" } }
Same link and password work fine with the file metadata endpoint. Please help, this is a critical function. I am evaluating Dropbox for a potential medical application and files must be password protected.