Google Business Messages 功能將於 2024 年 7 月 31 日終止服務。請按
這裡瞭解詳情。
Error
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
列舉 |
ERROR_UNSPECIFIED |
錯誤代碼不明。 |
INVALID_REQUEST |
要求缺少一個參數、參數無效、包含超過一次的參數,或者其他參數無效。 |
ACCESS_DENIED |
使用者或授權伺服器拒絕要求 |
UNAUTHORIZED_CLIENT |
用戶端無法使用這個方法要求授權碼。 |
UNSUPPORTED_RESPONSE_TYPE |
伺服器不支援使用這個方法取得授權碼。 |
INVALID_SCOPE |
要求的範圍無效或不明。 |
SERVER_ERROR |
伺服器並不會向使用者顯示 500 內部伺服器錯誤網頁,而是傳回這個錯誤代碼。 |
TEMPORARILY_UNAVAILABLE |
如果伺服器正在進行維護或無法存取,則可以傳回此錯誤代碼,而非回應 503 服務無法使用的狀態碼。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003eThis documentation lists potential error codes returned by an OAuth 2.0 authorization server during the authorization process.\u003c/p\u003e\n"],["\u003cp\u003eThese errors help developers understand and handle issues like invalid requests, denied access, unsupported methods, or server problems.\u003c/p\u003e\n"],["\u003cp\u003eEach error code has a specific meaning, such as \u003ccode\u003eINVALID_REQUEST\u003c/code\u003e indicating a problem with the request parameters, or \u003ccode\u003eACCESS_DENIED\u003c/code\u003e signaling that the user or server rejected the request.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should use these error codes to provide informative feedback to users and improve the user experience of their applications.\u003c/p\u003e\n"]]],[],null,["# Error\n\nThe list of [errors](https://www.oauth.com/oauth2-servers/authorization/the-authorization-response/) thrown by the server.\n\n| Enums ||\n|-----------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ERROR_UNSPECIFIED` | Error code unspecified. |\n| `INVALID_REQUEST` | The request is missing a parameter, contains an invalid parameter, includes a parameter more than once, or is otherwise invalid. |\n| `ACCESS_DENIED` | The user or authorization server denied the request |\n| `UNAUTHORIZED_CLIENT` | The client is not allowed to request an authorization code using this method. |\n| `UNSUPPORTED_RESPONSE_TYPE` | The server does not support obtaining an authorization code using this method. |\n| `INVALID_SCOPE` | The requested scope is invalid or unknown. |\n| `SERVER_ERROR` | Instead of displaying a 500 Internal Server Error page to the user, the server can redirect with this error code. |\n| `TEMPORARILY_UNAVAILABLE` | If the server is undergoing maintenance, or is otherwise unavailable, this error code can be returned instead of responding with a 503 Service Unavailable status code. |"]]