Skip to content

Bug: Zapier integration authentication fails - Cannot query field "currentWorkspace" #18311

@INFLUtech

Description

@INFLUtech

Bug Description

I am unable to connect my Twenty Cloud account to Zapier. When trying to add a new Twenty account in Zapier, the authentication fails immediately with a GraphQL error.

Error message

authentication failed: query: query currentWorkspace {currentWorkspace {id displayName}}, error: {"message":"query: query currentWorkspace {currentWorkspace {id displayName}}, error: [{\"message\":\"Cannot query field \\\"currentWorkspace\\\" on type \\\"Query\\\".\",\"locations\":[{\"line\":1,\"column\":25}]}]","code":"ApiError","status":200}

Expected behavior

According to the Twenty AI support bot, this error likely occurs because the Zapier app is incorrectly querying currentWorkspace on the Core API (/graphql/) instead of the Metadata API (/metadata/).

Environment

  • Hosting: Twenty Cloud
  • Integration: Official Zapier App

Could you please update the Zapier integration to query the correct endpoint? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    🔖 Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions