Skip to content

[BUG] Metabase Run Query component using incorrect endpoint #17343

@adrian-gtintel

Description

@adrian-gtintel

Describe the bug

path: `/card/pivot/${cardId}/query`,

The current API endpoint in use only returns metadata about the query and not the query results content.

I believe the API endpoint for run query should be card/{card-id}/query, which does return the query results content.

To Reproduce
Steps to reproduce the behavior:

  1. Add a new workflow step for Metabase --> Run Query
  2. Add a new connection for Metabase(API Auth Token)
  3. Set your Card ID.
  4. Check response result and the fact that it does not contain query content, only metadata.

Expected behavior
Return then query results for the chosen Metabase card.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedFor maintainers: This issue has been triaged by a Pipedream employee

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions