错误信息中的“error_subcode”是什么意思?
我们可以通过分析“error”和“error_subcode”来确定错误类型吗?
facebook对“error_subcode”有官方解释吗?
错误信息中的“error_subcode”是什么意思?
我们可以通过分析“error”和“error_subcode”来确定错误类型吗?
facebook对“error_subcode”有官方解释吗?
如 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.