Rommel
09/12/2025, 7:26 AMGET /v1/sources, but when I try those on self-hosted (e.g. https://my-airbyte/api/v1/sources), I get:
{
"message": "Forbidden",
"_links": {
"self": {
"href": "/api/v1/sources"
}
},
"_embedded": {
"errors": [
{
"message": "Forbidden"
}
]
}
}
If I switch to the RPC-style call (POST /api/v1/sources/list with a workspaceId), it works.
This raises a few questions:
• Are the docs at reference.airbyte.com intended only for Cloud?
• For self-hosted OSS, should we always be using the RPC-style endpoints like /api/v1/sources/list, /api/v1/connections/create, etc.?
• Is there a plan to unify the Cloud and OSS APIs in the future?
Also, when I tried to create a Google Search Console source via API, I hit this error:
curl --location 'https://dev.airbyte.jepto.com/api/v1/sources/create' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"configuration": {
"sourceType": "google-search-console",
"authorization": {
"auth_type": "Client",
"client_id": "...redacted...",
"client_secret": "...redacted...",
"refresh_token": "...redacted..."
},
"site_urls": ["https://www.mysite.com/"],
"start_date": "2021-05-01"
},
"name": "Sample GSC Connection",
"sourceDefinitionId": "eb4c9e00-db83-4d63-a386-39cfa91012a8",
"workspaceId": "48d59dac-ba6e-466f-8cff-9f2a291cfa1c"
}'
The response I got was:
{
"message": "Internal Server Error: null",
"exceptionClassName": "java.lang.NullPointerException",
"exceptionStack": [],
"rootCauseExceptionStack": []
}
Is this related to a mismatch between the Cloud docs vs the OSS API, or am I formatting the sources/create payload incorrectly for OSS?kapa.ai
09/12/2025, 7:27 AM