Empty streams field in syncCatalog when creating connection via Airbyte API

Summary

When creating a connection using the Airbyte API and calling the /v1/connections/create endpoint, the streams field of the syncCatalog is empty. The connection to the source is successful from the UI, but streams cannot be added via the API. What additional fields need to be specified?


Question

Hey everyone, I’m trying to create a connection using the Airbyte API, specifically I’m calling /v1/connections/create endpoint. The connection gets created, but the streams field of the syncCatalog is an empty list. the connection to the source is successful from the UI, and I can add the streams there. I wonder what am I missing, is there some additional field that needs to be specified?



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", "connection", "synccatalog", "streams", "empty-list"]

As far as I know Configuration API should be avoided https://docs.airbyte.com/api-documentation
https://github.com/airbytehq/airbyte/discussions/39433

Have you tried using this endpoint https://reference.airbyte.com/reference/createconnection for creating a connection?

That’s interesting, nope I haven’t tried that one

OK, so anything starting with /v1 is a Config API endpoint?

I don’t quite get it, is that also valid when self-hosting Airbyte?

https://reference.airbyte.com/reference/standalone-server-deprecation-and-migration-to-airbyte-server
For self-hosted Airbyte you need /api/public at the beginning of path

Object not found… which is why I started to use the other endpoints I guess. Tanks <@U05JENRCF7C> for your insights