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

Airtable: create and update record operations are throwing Unexpected token o in JSON at position 1 #9669

Open
mansukh-tj opened this issue May 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working plugins roadmap

Comments

@mansukh-tj
Copy link
Collaborator

Environment

ToolJet Cloud

What is the expected behaviour?

The queries should execute successfully and return create and update confirmation

What is the current behaviour?

Every create or update operation throws Unexpected token o in JSON at position 1 on execution

How to reproduce the issue?

  1. configure Airtable datasource
  2. create an app
  3. add configured Airtable datasource in Query Manager
  4. run Update or Create query

Screenshots or Screencast

image

Any possible solutions?

Their API has been changed, need to update the codebase with newer endpoints.

@mansukh-tj mansukh-tj added bug Something isn't working plugins labels May 9, 2024
@mansukh-tj mansukh-tj added this to the Marketplace 1.8 milestone May 9, 2024
@parthy007
Copy link
Collaborator

When configuring your Airtable datasource and running queries (create or update), make sure that the query input is valid JSON. For example:

Screenshot 2024-05-21 at 12 05 39 PM

@parthy007
Copy link
Collaborator

This example needs to be updated to the docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugins roadmap
Projects
None yet
Development

No branches or pull requests

2 participants