-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I am using the following code from the example:
LoggingOptions logginsOptions = LoggingOptions.defaultInstance();
Logging logging = logginsOptions.service();
When I run the app on Compute Engine, I get the following error:
com.google.cloud.logging.LoggingException: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Request had insufficient authentication scopes.
I use similar code to initialize Datastore and Storage, and that codes works fine. There is no mention of scopes in the examples, and I could not find a clear explanation in the documentation what scopes need to be provided, if any.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels