We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
ddcjoee
3 years agoExplorer | Level 3
from_lookup/not_found
Hello, I am running into an interesting issue when trying to copy a file from one shared folder to another. I was receiving a response that the file could not be found with the path I provided. I...
Greg-DB
Dropbox Staff
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the name and version number of the SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
brian q.
3 years agoHelpful | Level 6
Just saw a similar type or error as this.
Using the HTML api interface directly
Error response is: {"error_summary": "not_found/...", "error": {".tag": "not_found"}}
The process of doing this is
a) generate a copyref, then (aka from https://api.dropboxapi.com/2/files/copy_reference/get
b) use it in a post to https://api.dropboxapi.com/2/files/copy_reference/save
Tokens are valid (all using new short lived tokens).
The function works on basically all our users except one test case at this time (aka a problem account)
Here's the copyref failing as I write this:
create the reference
{"path":"id:Hs9eoD0tX5UAAAAAAAAADg"}
{"metadata": {".tag": "folder", "name": "TheDishEpisode_SHR_F178_EN_US_20_2K_20220926_AutoDCP_SMPTE_OV", "path_lower": "/dcps/thedishepisode_shr_f178_en_us_20_2k_20220926_autodcp_smpte_ov", "path_display": "/dcps/TheDishEpisode_SHR_F178_EN_US_20_2K_20220926_AutoDCP_SMPTE_OV", "id": "id:Hs9eoD0tX5UAAAAAAAAADg"}, "copy_reference": "AAAAALfD6UEyOG5oaHZqYjZlY3M", "expires": "2052-09-22T22:00:35Z"}
Actually do the copy with the above refernce
{"copy_reference":"AAAAALfD6UEyOG5oaHZqYjZlY3M","path":"\/deliverables\/tciff2022\/d1\/adam@adambarta.com\/TheDishEpisode_SHR_F178_EN_US_20_2K_20220926_AutoDCP_SMPTE_OV"}
And the results
{"error_summary": "not_found/.", "error": {".tag": "not_found"}}
- Greg-DB3 years agoDropbox Staff
brian q. As Здравко, please check the source is still available at the time of the save call, as that would be typical cause of an error like that. Otherwise, feel free to open an API ticket with some additional details if you'd like us to look into it specifically. In particular, the account IDs for the source account and the receiving account as well as several sample 'X-Dropbox-Request-Id' response header values for a few of these failures would likely be useful in this case.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months agoIf you need more help you can view your support options (expected response time for an email or 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!