For clarification, I am using the Java API v2 for DropBox for an AndroidStudio project.
I am trying to use the deleteV2(String path) method 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.