You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
ddcjoee
4 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
4 years agoDropbox 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.
- quandt2 years agoExplorer | Level 3
So how many years later, finally got an answer to this odd behavior.
In short, the issue for "not found" does not really give you much to go on. Specially when you know the files exist (cuz your own code put it there in the test). The problem was/is the user account. Accounts can have their 'sharing' feature disabled due to whatever reasons, unfofrtunately the API just gets a NOT_FOUND type message, with no further information, the web hooks seem to have access to more info, maybe the api's do as well or maybe there's an additional info lookup on such things, but for now I'm saying this 'bug' is resolved.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 2 days 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!