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: 

API V2 - Cannot delete files

API V2 - Cannot delete files

Ojstn
New member | Level 2

I am trying to use the deleteV2 method of the DropBox API V2 and keep running into a DeleteErrorException.

 

Here's the line resulting in the error:

 

client.files().deleteV2(path);

where path matches the pattern "(/(.|[\\r\\n])* )|(ns:[0-9]+(/. * )?)", as described in the api docs. 

 

The exception returns the following message: 

 

com.dropbox.core.v2.files.DeleteErrorException: Exception in 2/files/delete: {".tag":"path_lookup","path_lookup":"not_found"}

 

I cannot seem to find any documentation related to this particular issue. I would greatly appreciate it if somebody could help me figure out what I'm doing wrong. 

1 Reply 1

Greg-DB
Dropbox Staff
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?