IOS Dropbox API - Reauthentication (Error 401)

I am having problems with my iOS app using Dropbox. It worked with the Dropbox Core API perfectly fine, downloading the file without any problems, but now it will show me error 401. I have seen everywhere that all I need is re-authentication. Sorry if this question sounds silly, but what is meant by re-authentication here and how to do it?

+4
source share
2 answers

You will probably need to re-enter Dropbox.

+1
source

To re-authenticate, first disconnect the session using the code below.

              [[DBSession sharedSession] unlinkAll];

hope this works for you @Oscar.

+1

Source: https://habr.com/ru/post/1538028/


All Articles