Airbyte API - Create Connection not working #54671
Unanswered
shraddhahelical
asked this question in
Platform API Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Airbyte APIs to automate source to destination sync , I have a on-prem Airbyte Installation
I was able to get these APIs working on my setup - get token, get workspaces, test source connection, create source
I have a destination already setup
I want to use API to create a connection. As per the documentation, if I do not send any "Stream Settings"
All streams will be set to the sync mode: full_refresh_overwrite
I just want to select all streams and the default sync mode
Below is my request body -
{
"name": "CompanyUUID_JobNimbus",
"scheduleType": "cron",
"scheduleData": {
"cron": {
"cronExpression": "0 0 3 * * ?",
"cronTimeZone": "UTC"
}
},
"sourceId": "301e66ed-0a04-4d8b-ba56-7f47cdc78e54",
"destinationId": "50727aa9-c8ff-495d-b954-0ac83b52c378",
"namespaceDefinition": "customformat",
"namespaceFormat": "captain"
}
Connection gets created with schedule set to as expected, also namespace gets set but it shows no streams
If I modify the request as per the documentation page and select a stream, then also it shows no streams
"configurations": {
"streams": [
{
"name": "jobs",
"syncMode": "full_refresh_overwrite"
}
]
}
Also the connections created are not listing on the connections page, I can however, open the connection settings by explicitly appending the connection Id in the browser URL
Beta Was this translation helpful? Give feedback.
All reactions