Where can I find the official Graph API Error Code list?
I have been using the Graph API for half a year, and in the past 6 months, the error code's format has changed twice!
The first time I saw the error code, it looks like:
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException",
}
}
It's really stranger, the error message didn't provide any error code!
And then several months later, the "expected" error code was introduced.
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException",
"code": 190,
}
}
But sadly, you still cannot distinguish what the error exactly is by checking the "code", since many errors with the same "type" have the same "code".
Just now, I found the error message contains new field:
{
"error": {
"message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",
"type": "OAuthException",
"code": 190,
"error_subcode": 460
}
}
OK, it's just what I need.
But where can I find the error code list? I knew there is FQL error code list, http://fbdevwiki.com/wiki/Error_codes#FQL_Errors, but it seems out of date and does not provide any message about the "error_subcode".