We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Keith B.7
9 years agoHelpful | Level 7
[Obj-C API 2] Dealing with DMCA errors?
Hello,
We've had a couple of reports of users encountering a 461 Dropbox error. The publicly-shipping version of our app is using API 1, and looking this up, it seems to be a DMCA-related error - it seems to be that Dropbox throws this error when trying to sync certain DMCA-restricted files. A couple of questions on how best to handle this:
1. Is this the intended behaviour even when the file is not stored in a shared folder? A user encountered this error just trying to sync a DMCA-protected font file with our app. Can Dropbox not sync such files at all?
2. Assuming this is indeed intended behaviour, what is the best way to check for this error in API 2? I am probably missing it, but I couldn't find a specific error to check for this, and I'm aware that the error codes have changed for API 2 - will API 2 likewise throw a 461 error in this situation, or will it be a different code? I'd like to show a meaningful warning in this case, telling the user which file is causing the problem and why.
Many thanks,
Keith
- This applies to accessing the content, e.g., via download, get_preview, get_thumbnail, or via a link.
Uploading, and file operations like moving and copying are allowed.
- Greg-DBDropbox Staff
1. Yes, this is the expected behavior.
2. In API v2, it would be a 409 with a specific error, e.g., on /files/download, it's restricted_content. In the API v2 Objective-C SDK in particular, that becomes DBFILESDownloadError.path with a DBFILESLookupError where isRestrictedContent is true.
- Keith B.7Helpful | Level 7
Thank you. Does the error only ever apply to downloads, then? Will this error never be encountered for uploads, or when trying to copy or move a restricted file?
Thanks,
Keith
- Greg-DBDropbox StaffThis applies to accessing the content, e.g., via download, get_preview, get_thumbnail, or via a link.
Uploading, and file operations like moving and copying are allowed.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,878 PostsLatest Activity: 9 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!