Issue with Airbyte API response in Python

Summary

The user is facing an issue with the Airbyte API response in Python, receiving a message that JavaScript needs to be enabled to run the app.


Question

Could someone please assist me in resolving this problem? Thank you in advance for your help.

I have a problem when using an Airbyte API, it shows me this message when running it in Python:

When I use this GET API
http://airbyte-host/v1/connections?includeDeleted=false&limit=20&offset=0
It gives you this response:
You need to enable JavaScript to run this app.



This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want to access the original thread.

Join the conversation on Slack

["airbyte-api", "python", "api-response", "javascript-error"]

I’m also having this issue when running our own Airbyte

That’s worth filing as a github issue — it’ll get assigned to the API team and we’ll take a look.

One thing you could try is http accept header to be application/json — it could be that it tries to render an html response?

Hi <@U069EMNRPA4>

Turns out that the endpoints shown in the documentation aren’t correct for us.

To trigger a sync, we had to use

curl -X POST
-H “Content-Type: application/json”
-H “Authorization: Basic API_TOKEN”
-d ‘{“connectionId”: “CONNECTION_ID”}’
{base_url}/api/v1/connections/sync

which is different from this endpoint: https://reference.airbyte.com/reference/createjob

For context, we use helm for our deployment on K8s. Our latest deployment was mid-february and we are on chart version: 0.53.149

Let me pass this to the team :eyes:

Hi everyone,

thank you for your support!