Hi,
I have been using the Dropbox iOS SDK for a number of years, and it's worked fine, and even transitioned to the v2 API a few years ago. Lately, some of my users seem to be getting this error repeatedly on their devices:
DropboxAuthError[{
ErrorContent = "missing_scope/";
RequestId = f52a524dff6c4d6a915da56dc520bea5;
StatusCode = 401;
StructuredAuthError = "<DBAUTHAuthError: 0x2811423e0>";
UserMessage = nil;
}];
This happens when the 'uploadUrl' API is called.
I've checked the 'permissions' in the App Console, and nothing there has changed. Specifically, I have enabled permission for "files.metadata.write" and "files.metadata.read". In my own testing, I am not able to reproduce the error at all. I have the users link to their account again by using DBClientsManager's 'authorizeFromControllerV2' API, which I believe should generate a new access token, and then they call the upload API again. but it doesn't seem to help.
Is there any way to figure why this error has started happening in the last few weeks? Has anything changed (or is there a bug) on the Dropbox SDK side? The Dropbox SDK version I'm using is 6.2.3.
Thanks.