Discuss Dropbox Developer & API
Hi Team,
I am facing an issue with an API,
{"url":"https://api.dropboxapi.com/2/files/copy_reference/get","http_method":"POST","headers":{"Dropbox-API-Path-Root":"","Content-Type":"application/json","Dropbox-API-Select-User":"dbmid:AADMhj2pSRiiUYONHLNfd5H1niR4V7r-qkY"},"query_parameters":{},"body":{"path":"ns:11460496721/coco.docx"},"input":["param_user_id","param_file_path"]} failed with status=409 headers=content-type: application/jsoncache-control: no-cachecontent-security-policy: sandbox allow-forms allow-scriptsx-content-type-options: nosniffdate: Thu, 26 Sep 2024 17:05:57 GMTserver: envoycontent-length: 94x-dropbox-response-origin: far_remotex-dropbox-request-id: 17f6201cd0f44db680648fade0d6df91 body=Response{protocol=h2, code=409, message=, url=https://api.dropboxapi.com/2/files/copy_reference/get}
I am getting everytime path not found errors in the response.
I tried editing the passing the path in this way also "ns:5162725089/Test_Tarjetas.CSV" but didn't get a luck on it. Running into the same error.
For the below activity the event that I have received from team logs is:-
I see you're not actually setting "Dropbox-API-Path-Root", so that would default to the "home" mode, but the namespace you're trying to access may not be mounted underneath the user's home.
That being the case, you'll need to set the root such that the namespace will be found. You can do that like this, for example:
Dropbox-API-Path-Root
header to {".tag": "namespace_id", "namespace_id": "11460496721"}
path
parameter to "/coco.docx"
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!