cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

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: 
Highlighted

Delete File (delete (path)) not working

Explorer | Level 4

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
Highlighted

Re: Delete File (delete (path)) not working

Dropboxer
Dropboxer

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
Highlighted

Re: Delete File (delete (path)) not working

Dropboxer
Dropboxer

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

Highlighted

Re: Delete File (delete (path)) not working

Explorer | Level 4

Hi Greg,

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

Thanks much.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?