Need to see if your shared folder is taking up space on your dropbox šØāš»? Find out how to check here.
Forum Discussion
AB32w2e332e
9 years agoHelpful | Level 5
DBError, forward declaration
Hello, I'm trying to compile DBRoulette example in iOS SDK v2.0.6 and I get a forward declaration error: .../DBRoulette/PhotoViewController.m:53:65: Receiver type 'DBError' for instance message is a...
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the report! We're looking into it.
Robert S.138
9 years agoHelpful | Level 7
I also got that error, but it turned out that all my uses of DBError in SDK 1.0.11 were actually DBRequestError in SDK 2.0.6. When I changed all my declarations from DBError to DBRequestError, everything compiled fine. Is that the right thing to do?
I was using DBError to do things like isInternalServerError, isBadInputError, isAuthError, etc. Are there any situations where this substitution is not appropriate?
I was using DBError to do things like isInternalServerError, isBadInputError, isAuthError, etc. Are there any situations where this substitution is not appropriate?
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks Robert. That's the right change. DBError was renamed to DBRequestError in 2.0.0:
https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/2.0.0- Greg-DB9 years ago
Dropbox Community Moderator
For reference, the sample app has been updated to work with the latest version of the SDK.
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!