cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete File (delete (path)) not working

Delete File (delete (path)) not working

cgirecruitment1
Explorer | Level 4
Go to solution

Hi Team,

 

The client.files().delete(path)  is not working as expected when path is given as "id:somevalue". However, I am able to delete files using dropbox API explorer. But get the following error, when trying to d it from Java. 

String 'path' does not match pattern

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution

What version number of the Dropbox Java SDK do you have installed? It's possible you have an older version from before this was supported for the delete method.

If you're not already using the latest release, currently v3.1.1, please upgrade to that and let me know if that doesn't help.

View solution in original post

2 Replies 2

Greg-DB
Dropbox Staff
Go to solution

What version number of the Dropbox Java SDK do you have installed? It's possible you have an older version from before this was supported for the delete method.

If you're not already using the latest release, currently v3.1.1, please upgrade to that and let me know if that doesn't help.

cgirecruitment1
Explorer | Level 4
Go to solution

Hi Greg,

Yes, I was using 3.0.3. Moving to 3.1.1 resolved it,

Thanks much. 🙂

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    cgirecruitment1 Explorer | Level 4
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?