title: Facebook Graph API error code list
body: <p>Where can I find the official Graph API Error Code list?</p>
  
  <p>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!</p>
  
  <p>The first time I saw the error code, it looks like:</p>
  
  <pre><code>{   
      "error": {
          "message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",      
          "type": "OAuthException",      
      }
  }
  </code></pre>
  
  <p>It's really stranger, the error message didn't provide any error code!</p>
  
  <p>And then several months later, the "expected" error code was introduced.</p>
  
  <pre><code>{   
      "error": {
          "message": "Error invalidating access token: The session has been invalidated because the user has changed the password.",      
          "type": "OAuthException",      
          "code": 190,      
      }
  }
  </code></pre>
  
  <p>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".</p>
  
  <p>Just now, I found the error message contains new field:</p>
  
  <pre><code>{   
      "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   
      }
  }
  </code></pre>
  
  <p>OK, it's just what I need.</p>
  
  <p>But where can I find the error code list?
  I knew there is FQL error code list, <a href="http://fbdevwiki.com/wiki/Error_codes#FQL_Errors" rel="nofollow noreferrer">http://fbdevwiki.com/wiki/Error_codes#FQL_Errors</a>, but it seems out of date and does not provide any message about the "error_subcode".</p>