简体   繁体   中英

iOS Dropbox API - Re-Authenticating (Error 401)

I've been having issues with my iOS App using Dropbox. It used to run with the Dropbox Core API perfectly fine, with no problems uploading a file, but now it'll show me an error 401. I've seen everywhere that all I need is to re-authenticate. Sorry if this question sounds dumb, but what is meant by re-authentication here and how do I do it?

您可能需要再次登录Dropbox。

For re-authentication first of all unlink your session using below code.

              [[DBSession sharedSession] unlinkAll];

hope it will work for you @Oscar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM