cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

Re: 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?