looker-open-source/gzr

Dashboard import command works in CLI but not in shell script

Closed this issue · 4 comments

I have written a shell script which exports dashboard, transforms it and import the transformed dashboard into new folder. Everything is working as expected except import.
I am getting 404 error- The resource you're looking for could not be found. Suprisingly, when I execute the same command from CLI, it works without any issue.

That is odd. Can you share the shell script?

[
dashboard_migration.txt
](url)
PFA the script

@drstrangelooker Any update on this issue?

It looks like there is already a dashboard with the name "Baseline EDD GMLOS Model Performance" in the destination folder, so the update isn't working. If you rename that dash it should work.