Forum Discussion

AnaliticaInnovare's avatar
AnaliticaInnovare
New member | Level 2
6 years ago
Solved

Moving of Files not Working

I am moving a file using the endpoint  https://api.dropboxapi.com/2/move_v2 which gives me a successful response however the file is not shown in the folder when i go to it.

  • The results retrieved from list_folder however the cache was not updated to cater for moved/copied items and that made it seem as though the api call was not successful. Problem is fixed now.

3 Replies

  • AnaliticaInnovare's avatar
    AnaliticaInnovare
    New member | Level 2
    6 years ago

    The results retrieved from list_folder however the cache was not updated to cater for moved/copied items and that made it seem as though the api call was not successful. Problem is fixed now.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    Were you trying to move this file into that folder at "/Test folder"? A response from /2/files/move_v2 containing the updated metadata like this should indicate that the file was successfully moved, so it appears the move did work if that's what you were attempting.

     

    When you say "file is not shown in the folder", how are you checking that? Are you looking at the local filesystem on a computer with the Dropbox desktop client installed and running, or a Dropbox mobile client, or the Dropbox web site, or using the Dropbox API? In any case, make sure what you're looking at is up to date. (E.g., Refresh the page, or make sure the client is running, etc.)

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    6 years ago

    It looks like our messages just crossed. I'm glad to hear you sorted this out already.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If 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, Facebook or Instagram.

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!