We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
purringpigeon
4 years agoExplorer | Level 4
Getting an upload error - not sure why
I recently ran into the issue of the long lived tokens no longer working, so I needed to upgrade to the latest API and change the access. I am now running into an exception uploading content.
M...
- 4 years ago
purringpigeon wrote:
... But my old call was not compiling.That's not something API related! Check what's wrong in your syntax, compiler options, etc.
purringpigeon
4 years agoExplorer | Level 4
When I had it with mode it complained the API was not correct. I’ll try again. I’m not sure why it failed. But my old call was not compiling.
Здравко
4 years agoLegendary | Level 20
purringpigeon wrote:
... But my old call was not compiling.
That's not something API related! Check what's wrong in your syntax, compiler options, etc.
- Greg-DB4 years ago
Dropbox Community Moderator
purringpigeon Здравко is correct, you should use the "mode" option to control this behavior. That's still available in the latest version of the SDK, as seen here. I recommend using Xcode's autocomplete feature to automatically template out the parameters.
- purringpigeon4 years agoExplorer | Level 4
When I revert to the code I have above I get the following compile error:
No visible @interface for 'DBFILESUserAuthRoutes' declares the selector 'uploadData:mode:autorename:clientModified:mute:inputData:'
- purringpigeon4 years agoExplorer | Level 4
I found it - they added properties to it.
propertyGroups:NULL strictConflict:NULL contentHash:NULLI am trying that.
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!