2012-06-03 193 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.