We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
purringpigeon
3 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...
- 3 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
3 years agoExplorer | Level 4
How do I set the mode? I don’t see the option on the new API.
- Здравко3 years agoLegendary | Level 20
purringpigeon wrote:
How do I set the mode? I don’t see the option on the new API.
purringpigeon wrote:...
DBFILESWriteMode* mode = [[DBFILESWriteMode alloc]initWithOverwrite]; [[self.restClient.filesRoutes uploadData:@"/ServiceReport.sqlite" mode:mode ...
...
Something that's missing in you second code snippet! This part is nothing to do with the change of access token way of work. 😉
- purringpigeon3 years agoExplorer | Level 4When 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.
- Здравко3 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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 5 hours agoIf 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!