Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't export dashboard with merge_query #260

Closed
bmo992 opened this issue Aug 6, 2024 · 1 comment · Fixed by #261
Closed

Can't export dashboard with merge_query #260

bmo992 opened this issue Aug 6, 2024 · 1 comment · Fixed by #261

Comments

@bmo992
Copy link

bmo992 commented Aug 6, 2024

I am using gazer version v0.3.17. When trying to export a dashboard that contains merge_query, I get the following error message:

Capture d’écran 2024-08-06 à 14 08 58

Error querying search_alerts(***
"group_by": "dashboard",
"fields": "id,dashboard_element_id",
"all_owners": true,
"limit": 64
***)

GET https://****.cloud.looker.com/api/4.0/alerts/search?all_owners=true&fields=id%2Cdashboard_element_id&group_by=dashboard&limit=64: 403 - You do not have access.

// See: https://cloud.google.com/looker/docs/r/err/4.0/403/get/alerts/search

// And: https://marketplace-api.looker.com/errorcodes/403.md

Must be an admin user to look up all alerts

Parameters used (for internal record)
Uploading Capture d’écran 2024-08-06 à 14.09.10.png…

@drstrangelooker
Copy link
Collaborator

It isn't "exactly" a problem with gzr. What is happening is that gzr is outputting some warning text, but your python program is expecting just a json document.

I'm working on a fix that will write all the warning and error text to stderr instead of stdout. That should alleviate this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants