ACCESS_TOKEN_SCOPE_INSUFFICIENT
com.google.api.error_reason.ErrorReason$.ACCESS_TOKEN_SCOPE_INSUFFICIENT$
The request is denied because the provided access token doesn't have at least one of the acceptable scopes required for the API. Please check OAuth 2.0 Scopes for Google APIs for the list of the OAuth 2.0 scopes that you might need to request to access the API.
Example of an ErrorInfo when the request is calling Cloud Storage service with an access token that is missing required scopes:
{ "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", "domain": "googleapis.com", "metadata": { "service": "storage.googleapis.com", "method": "google.storage.v1.Storage.GetObject" } }
Attributes
- Source:
- ErrorReason.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Recognizedclass ErrorReasontrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type