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!