facebook-ios-sdk
facebook-ios-sdk copied to clipboard
The server is temporarily busy, please try again (500 error from Facebook)
Checklist before submitting a bug report
- [X] I've updated to the latest released version of the SDK
- [X] I've searched for existing GitHub issues
- [X] I've looked for existing answers on Stack Overflow, the Facebook Developer Community Forum and the Facebook Developers Group
- [X] I've read the Code of Conduct
- [X] This issue is not security related and can safely be disclosed publicly on GitHub
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
We have the same issue in our app. It was working as expected but then it started failing with this error
We are having the same issue.
I'm glad I'm not the only one having this issue, is there any resolution?
Stucked with the same here.
Same issue here
Hello, does this issue persist? If so, would you please file a bug report for tracking purposes? Thanks!
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