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

Must query at least one dimension or measure #86

Open
ice-ctrl opened this issue Apr 8, 2024 · 1 comment
Open

Must query at least one dimension or measure #86

ice-ctrl opened this issue Apr 8, 2024 · 1 comment

Comments

@ice-ctrl
Copy link

ice-ctrl commented Apr 8, 2024

Hi, I get the following error:

looker_sdk.error.SDKError: 
    message:           Must query at least one dimension or measure
    documentation_url: https://cloud.google.com/looker/docs/r/err/4.0/400/post/queries/run/:result_format
    error_doc_url:     https://static-a.cdn.looker.app/errorcodes/400.md
    error details:

Is Henry still maintained? I guess it has to do with the looker_sdk update.

More details:

Traceback (most recent call last):
  File "/opt/anaconda3/envs/py38/bin/henry", line 8, in <module>
    sys.exit(main())
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/henry/cli.py", line 16, in main
    pulse.Pulse.run(user_input)
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/henry/commands/pulse.py", line 21, in run
    pulse.check_dashboard_performance()
  File "/opt/anaconda3/envs/py38/lib/python3.8/contextlib.py", line 75, in inner
    return func(*args, **kwds)
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/henry/commands/pulse.py", line 92, in check_dashboard_performance
    resp = self.sdk.run_inline_query("json", request)
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/looker_sdk/sdk/api40/methods.py", line 9222, in run_inline_query
    self.post(
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/looker_sdk/rtl/api_methods.py", line 188, in post
    return self._return(response, structure)
  File "/opt/anaconda3/envs/py38/lib/python3.8/site-packages/looker_sdk/rtl/api_methods.py", line 101, in _return
    raise sdk_error

@rbob86
Copy link
Collaborator

rbob86 commented Apr 9, 2024

#85

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

No branches or pull requests

2 participants