错误信息中“error_subcode”的含义是什么?
我们可以通过分析“error”和“error_subcode”来确定错误类型吗?
Facebook是否有关于“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.