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  


 [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