Comments (8)
+1
We are trying to use Gzr on a LookML dashboard that has been converted to a UDD dashboard. Same error as example above.
Gzr v0.2.14
ruby 2.5.1p57
from gzr.
+1
Same issues as above for importing a dashboard json file based off a LookML dashboard. Full error message:
Validation Failed
{:field=>"type", :code=>"invalid", :message=>"Must provide either a look_id, query_id, or result_maker_id for non-text dashboard element", :documentation_url=>"http://docs.looker.com/"}
/Users/David/.rvm/gems/ruby-2.3.0/gems/looker-sdk-0.0.6/lib/looker-sdk/response/raise_error.rb:15:in `on_complete'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/response.rb:9:in `block in call'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/response.rb:61:in `on_complete'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/response.rb:8:in `call'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/rack_builder.rb:143:in `build_response'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/connection.rb:387:in `run_request'
/Users/David/.rvm/gems/ruby-2.3.0/gems/faraday-0.15.4/lib/faraday/connection.rb:175:in `post'
/Users/David/.rvm/gems/ruby-2.3.0/gems/sawyer-0.8.2/lib/sawyer/agent.rb:94:in `call'
/Users/David/.rvm/gems/ruby-2.3.0/gems/looker-sdk-0.0.6/lib/looker-sdk/client.rb:280:in `request'
/Users/David/.rvm/gems/ruby-2.3.0/gems/looker-sdk-0.0.6/lib/looker-sdk/client.rb:84:in `post'
/Users/David/.rvm/gems/ruby-2.3.0/gems/looker-sdk-0.0.6/lib/looker-sdk/client/dynamic.rb:97:in `invoke_remote'
/Users/David/.rvm/gems/ruby-2.3.0/gems/looker-sdk-0.0.6/lib/looker-sdk/client/dynamic.rb:63:in `method_missing'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/modules/dashboard.rb:107:in `create_dashboard_element'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard/import.rb:178:in `sync_dashboard_element'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard/import.rb:75:in `block (3 levels) in execute'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/command.rb:251:in `block in pairs'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/command.rb:251:in `collect'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/command.rb:251:in `pairs'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard/import.rb:74:in `block (2 levels) in execute'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/modules/filehelper.rb:78:in `read_file'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard/import.rb:54:in `block in execute'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/modules/session.rb:193:in `with_session'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard/import.rb:50:in `execute'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/lib/gzr/commands/dashboard.rb:58:in `import'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/invocation.rb:115:in `invoke'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor.rb:238:in `block in subcommand'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
/Users/David/.rvm/gems/ruby-2.3.0/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
/Users/David/.rvm/gems/ruby-2.3.0/gems/gazer-0.2.14/exe/gzr:36:in `<top (required)>'
/Users/David/.rvm/gems/ruby-2.3.0/bin/gzr:23:in `load'
/Users/David/.rvm/gems/ruby-2.3.0/bin/gzr:23:in `<main>'
/Users/David/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:24:in `eval'
/Users/David/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:24:in `<main>'
gazer v0.2.14
from gzr.
Can anyone post the json of the dashboard they are attempting to import here so I can reproduce?
from gzr.
@deangelo-llooker
Error:
"body_text": null,
"note_display": null,
"note_state": null,
"note_text": null,
"refresh_interval": null,
"subtitle_text": null,
"title": "rev wtd text",
"title_hidden": false,
"title_text": null,
"type": "vis",
"result_maker": {
"filterables": [
{
"model": "digital_direct",
"view": "ga_sessions",
"name": null,
"listen": [
{
"dashboard_filter_name": "Country",
"field": "marketmaster.market_country"
}
]
}
]
},
"query_id": null,
"look_id": null,
"merge_result_id": null,
"dashboard_id": 176
})
Validation Failed
{:field=>"type", :code=>"invalid", :message=>"Must provide either a look_id, query_id, or result_maker_id for non-text dashboard element", :documentation_url=>"http://docs.looker.com/"}
Filed attached:
marketplaces.json.zip
from gzr.
To note about the example I provided. This dashboard went through UDD > Lookml > UDD conversion. I was able to get rid of the gazer errors by editing every tile on the dashboard and where save was enabled with out making any changes resaving it. I do not know if this is the situation for the others who have experienced this but wanted to let you know
from gzr.
I just pushed gazer version 0.2.19. I believe that will fix this issue. If it does not fix we can reopen.
from gzr.
Hi, I'm having a similar problem while importing some dashboards. I tried the flag --force
in gazer.
ruby 2.6.3p62
gazer v0.2.44
Error creating dashboard_element({
"type": "vis",
"refresh_interval": null,
"note_text": null,
"note_display": null,
"note_state": null,
"title_hidden": false,
"title_text": null,
"title": "Lowe's Survey Completion % by Service",
"subtitle_text": null,
"body_text": null,
"result_maker": {
"filterables": [
{
"model": "hy_dw",
"view": "lowes_post_purchase_questions",
"name": "Lowes Post Purchase Questions",
"listen": [
]
},
{
"model": "hy_dw",
"view": "f_booking",
"name": "Bookings",
"listen": [
]
}
]
},
"query_id": null,
"look_id": null,
"merge_result_id": null,
"dashboard_id": 835
})
Validation Failed
{:field=>"type", :code=>"invalid", :message=>"Must provide either a look_id, query_id, or result_maker_id for non-text dashboard element", :documentation_url=>"http://docs.looker.com/"}
ERROR: Validation Failed
from gzr.
I've seen this error when a look has been deleted from the folder. Best practice to verify that the dashboard has no errors
from gzr.
Related Issues (20)
- Looker API 4.0 doesn't have the space method instead they added folder method. HOT 4
- How to upgrade gazer latest version which had folder method. HOT 1
- The resources you're looking for could not be found HOT 4
- New dashboard validation failure on import (starting with 0.2.59 and 0.3.0) HOT 8
- gzr dashboard import is working but gzr dashboard mv is throwing an error :404 - The resource you're looking for could not be found HOT 7
- Dashbords not moving from folder to folder on the same environment using gzr dashboard mv .... HOT 1
- dashboard validation failure on import HOT 21
- Test issue
- Whitespace in Dashboard title is not properly handled when creating a json file HOT 3
- Resource Could Not Be Found HOT 1
- Gazr does not handle forecast elements
- Export command does not export some folders HOT 2
- Unable to connect with v0.3.10 HOT 6
- In windows enterprise, how to resolve `expand_path': non-absolute home (ArgumentError) HOT 3
- How to migrate looker models using gazer? HOT 1
- gzr import not working where as gzr cat is working for instance.Getting ERROR: The resource you're looking for could not be found HOT 17
- SSL Certificate could not be verified HOT 9
- space export only half-works HOT 3
- Error copying dashboards when exporting folder: `block in query_dashboard: undefined method row` HOT 3
- Gazer folder export command failing while exporting Dashboard HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gzr.