2012-06-03 149 views
0

错误信息中“error_subcode”的含义是什么?“error_subcode”的含义是什么

我们可以通过分析“error”和“error_subcode”来确定错误类型吗?

脸谱有关于“error_subcode”的官方解释吗?

+0

不清楚你在问什么。你可以扩展你的问题吗? –

回答

1

来自Facebook

随着人类可读的消息中的旧的存根如所描述的,错误响应包括error_subcode描述错误的性质。虽然通常只能通过重新认证用户来响应这些错误,但您可以将这些子代码用于内部日志记录目的,或者更好地解释为什么要求用户重新登录。可能的代码及其含义如下:

`error_subcode` Meaning 
456 The session is malformed. 
457 The session has an invalid origin. 
458 The session is invalid, because the app is no longer installed. 
459 The user has been checkpointed. The error_data will contain the URL the user needs to go to to clear the checkpoint. 
460 The session is invalid likely because the user changed the password. 
461 The session is invalid, because the user has reinstalled the app. 
462 The session has a stale version. 
463 The session has expired. 
464 The session user is not confirmed. 
465 The session user is invalid. 
466 The session was explicitly invalidated through an API call. 
467 The session is invalid, because the user logged out. 
468 The session is invalid, because the user has not used the app for a long time.