GoogleCloudPlatform / GoogleCloudPlatform/cloud-logging-data-source-plugin

Getting ACCESS_TOKEN_TYPE_UNSUPPORTED - map[method:google.logging.v2.LoggingServiceV2.ListLogEntries service:logging.googleapis.com

Open
#126 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
24
Forks
17
Avg merge
13h 11m
Merged PRs (30d)
11

Description

Hi team,
when trying to setup Cloud logging DS in grafana I'm getting:

```
failed to run test query: list entries: rpc error: code = Unauthenticated desc = Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. error details: name = ErrorInfo reason = ACCESS_TOKEN_TYPE_UNSUPPORTED domain = metadata = map[method:google.logging.v2.LoggingServiceV2.ListLogEntries service:logging.googleapis.com]
```

Permissions are set as per documentation:

![Image](https://github.com/user-attachments/assets/583ad394-38a1-42e9-a9d6-a635bdc28523)

JWT Json key file properly loaded in grafana:

![Image](https://github.com/user-attachments/assets/bbf5db04-1a4f-4ef3-9f50-0ad4552e3518)

is this possibly a bug?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.