IOS Twitter Parse Login using PFLogInViewController

All morning I tried to log in to Twitter, as usual, but I keep getting the following error:

Domain=Parse Code=100 "The operation couldn’t be completed. (Parse error 100.)" UserInfo=0x174473540 
{  
   error=Error Domain=com.parse.networking.error 
   Code=-1011 "Expected status code in (200-299),
   got 504" UserInfo=0x174467780   
{  
   NSLocalizedDescription=Expected status code in (200-299),
   got 504,
   NSErrorFailingURLKey=https://api.parse.com/2/user_signup_or_login
},
   temporary=1,
   code=100
}

I write this in:

- (void)logInViewController:(PFLogInViewController *)logInController
didFailToLogInWithError:(NSError *)error;

Some additional notes:

Until today, I have never had a problem with my Twitter login. I'm having problems with the cloud code, which made the login fail for Facebook. Even when I returned the code back, it turned out that it wasn’t. After some tests, I find the problems completely unrelated.

I am extending the PFLogInViewController provided by analyzing and implementing my login screen. Facebook and normal login work fine. To add to this, twitter login worked several times (three times, not consecutive).

I looked around, but I don’t know why this happens when I try to log in to Twitter.

+4

All Articles