Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.14

Bug #17522 Status code 2 is returning on login instead of 401
Submitted: 2010-06-24 16:35 UTC
From: smykolaychuk Assigned:
Status: Open Package: Services_Facebook (version 0.2.14)
PHP Version: 5.2.9 OS: WindowsXP/Linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 17 + 41 = ?

 
 [2010-06-24 16:35 UTC] smykolaychuk (Serhiy Mykolaychuk)
Description: ------------ On incorrect username or password API should returns status code 401 - "Incorrect username or password". But status code 401 is returning only when password is incorrect. If username is incorrect - status code 2 is returning ("Service temporarily unavailable"). Test script: --------------- $request = array( 'email' => $email , 'password' => $password ); Services_Facebook_Common->callMethod('auth.login', $request); Expected result: ---------------- exception code should be 401 - "Incorrect username or password". Actual result: -------------- exception code is 2 - "Service temporarily unavailable"

Comments