We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
narner
7 years agoExplorer | Level 4
Route error for shared link - SwiftyDropbox
I'm using the Dropbox Swift SDK in my iOS app, and am currently trying to figure out what the proper response is for an error I've encountered. My basic flow is that a PDF gets uploaded to the app'...
narner
7 years agoExplorer | Level 4
Hey Greg, thanks for the info here!
Hmm, yes; I double checked the app's folder and made sure to delete the file from there, but the error still seems to occur just the same.
Additionally, what I'm needing to do is upload the *modifications* to the file...is there a way to upload changes to a file in addition to keeping the shared link?
Thank you!
Greg-DB
Dropbox Community Moderator
7 years agoIf you're deleting the file first, you shouldn't get the conflict error. I'll follow up with you privately to try to troubleshoot that directly.
And yes, to upload new versions of an existing file, you should use upload again. You should send the data for the new version of the file, and specify the 'update' (preferably), or otherwise 'overwrite', WriteMode as the 'mode' parameter. That won't interfere with the shared link. The existing shared link will reference the latest version of the file.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!