One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
ErShakirAnsari
8 years agoNew member | Level 2
File uploading in java-sdk-3.05
I'm getting below error while trying to upload a text file with java-sdk-3.0.5 APIv2
{".tag":"path","reason":{".tag":"conflict","conflict":"folder"},"upload_session_id":"AAAAAAAAwZP1-UAh160IBQ"}
- Greg-DB
Dropbox Staff
A path/conflict/folder error indicates that the upload failed because there is a folder in the way:
https://dropbox.github.io/dropbox-sdk-java/api-docs/v3.0.x/com/dropbox/core/v2/files/WriteConflictError.html#FOLDER
Note that if you're trying to upload a file into that folder, you'll need to specify the full desired path, including file name. (That is, not just the path to the folder.) So, to upload a file "test.txt" into a folder "Documents", the path you supply should be "/Documents/test.txt".
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 5 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!