We will be winding down Google Business Messages on July 31, 2024. Read more
here.
Error
Stay organized with collections
Save and categorize content based on your preferences.
The list of errors thrown by the server.
Enums |
ERROR_UNSPECIFIED |
Error code unspecified. |
INVALID_REQUEST |
The request is missing a parameter, contains an invalid parameter, includes a parameter more than once, or is otherwise invalid. |
ACCESS_DENIED |
The user or authorization server denied the request |
UNAUTHORIZED_CLIENT |
The client is not allowed to request an authorization code using this method. |
UNSUPPORTED_RESPONSE_TYPE |
The server does not support obtaining an authorization code using this method. |
INVALID_SCOPE |
The requested scope is invalid or unknown. |
SERVER_ERROR |
Instead of displaying a 500 Internal Server Error page to the user, the server can redirect with this error code. |
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. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-14 UTC."],[[["\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. |"]]