Skip to content

Must query at least one dimension or measure #86

@ice-ctrl

Description

@ice-ctrl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions