Forum Discussion

toandocoffee's avatar
toandocoffee
Explorer | Level 3
8 years ago

Upload file into folder name with space

Hi,

 

I am not sure that this question is asked before, but I haven't found the answer yet. I got problem when I upload a file into a folder which has space in it's name.

 

When I try to upload the file, it will create a folder or it return a error "Conflict". I also try on API Explorer but I still got same error. (ex. path: /project/a b c (a b c is folder name with space between)

 

Can anyone help me resolve this issue?

 

Thank you for your input

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Attempting to upload a file or create a folder with a space in the path won't automatically return a conflict just because of the space. There are a number of different cases that can result in conflicts though. You should check the response body for a more specific error. You can look up the error to determine exactly what caused the error. For example, it occur if there's already something at the specified path.
    • toandocoffee's avatar
      toandocoffee
      Explorer | Level 3
      Hi,

      Sorry it was my mistake. I need to decode url to first before calling api.

      Thanks

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,941 PostsLatest Activity: 5 days ago
351 Following

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!