facebook-ios-sdk icon indicating copy to clipboard operation
facebook-ios-sdk copied to clipboard

The server is temporarily busy, please try again (500 error from Facebook)

Open vixez opened this issue 2 years ago • 7 comments

Checklist before submitting a bug report

Xcode version

14.0.1

Facebook iOS SDK version

15.1.0

Dependency Manager

CocoaPods

SDK Framework

Login

Goals

Log a user in using the Facebook SDK

Expected results

After the users logs in, my app is opened and can succesfully continue.

Actual results

The SDK returns the following error

▿ Optional<Error>
  - some : Error Domain=com.facebook.sdk.core Code=8 "(null)" UserInfo={NSRecoveryAttempter=<FBSDKTemporaryErrorRecoveryAttempter: 0x28219d100>, com.facebook.sdk:FBSDKGraphRequestErrorKey=1, com.facebook.sdk:FBSDKErrorDeveloperMessageKey=An unknown error has occurred., com.facebook.sdk:FBSDKGraphRequestErrorParsedJSONResponseKey={
    body =     {
        error =         {
            code = 1;
            "fbtrace_id" = AK1LoNJP0ca0quThgMVlELr;
            message = "An unknown error has occurred.";
            type = OAuthException;
        };
    };
    code = 500;
}, NSLocalizedRecoveryOptions=(
    OK
), com.facebook.sdk:FBSDKGraphRequestErrorHTTPStatusCodeKey=500, NSLocalizedRecoverySuggestion=The server is temporarily busy, please try again., com.facebook.sdk:FBSDKGraphRequestErrorGraphErrorCodeKey=1}

Steps to reproduce

Try logging in using this version of the SDK on iOS with a test user.

Code samples & details

No response

vixez avatar Jan 10 '23 15:01 vixez

We have the same issue in our app. It was working as expected but then it started failing with this error

pmanuelli avatar Mar 07 '23 13:03 pmanuelli

We are having the same issue.

nicosocoro avatar Mar 08 '23 18:03 nicosocoro

I'm glad I'm not the only one having this issue, is there any resolution?

ifiszer avatar Mar 08 '23 18:03 ifiszer

Stucked with the same here.

bydopa avatar Mar 09 '23 11:03 bydopa

Same issue here

gastoncantera avatar Mar 09 '23 18:03 gastoncantera

Hello, does this issue persist? If so, would you please file a bug report for tracking purposes? Thanks!

janeheffernan avatar Mar 10 '23 18:03 janeheffernan

Hello @janeheffernan.

In our case, the problem is solved. The login started working again after Facebook reviewed our application and approved it.

We were getting this error in developer mode. When the application was in production mode the login worked fine. But in developer mode, it didn't work when we tried to login with developers and testing accounts.

I think that this issue is related to this one https://github.com/facebook/facebook-ios-sdk/issues/2148

pmanuelli avatar Mar 11 '23 14:03 pmanuelli