31 lipca 2024 r. wycofamy Google Business Messages. Więcej informacji znajdziesz
tutaj.
Error
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Lista błędów zgłoszonych przez serwer.
Wartości w polu enum |
ERROR_UNSPECIFIED |
Nieokreślony kod błędu. |
INVALID_REQUEST |
W żądaniu brakuje parametru, jest on nieprawidłowy lub występuje więcej niż raz albo jest nieprawidłowy. |
ACCESS_DENIED |
Użytkownik lub serwer autoryzacji odrzucił prośbę |
UNAUTHORIZED_CLIENT |
Klient nie może zażądać kodu autoryzacji przy użyciu tej metody. |
UNSUPPORTED_RESPONSE_TYPE |
Serwer nie umożliwia uzyskania kodu autoryzacji przy użyciu tej metody. |
INVALID_SCOPE |
Żądany zakres jest nieprawidłowy lub nieznany. |
SERVER_ERROR |
Zamiast wyświetlać użytkownikowi błąd 500 Wewnętrzny błąd serwera, serwer może przekierować na niego ten kod błędu. |
TEMPORARILY_UNAVAILABLE |
Jeśli serwer przechodzi konserwację lub jest niedostępny z innego powodu, kod błędu może zostać zwrócony zamiast odpowiedzi z kodem stanu 503 Niedostępne. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 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. |"]]