Shounak Bhandekar
07/10/2025, 10:28 AMError: failure to invoke API
│
│ with module.airbyte_sources.airbyte_source_custom.this["jenkins"],
│ on module/airbyte-sources/main.tf line 136, in resource "airbyte_source_custom" "this":
│ 136: resource "airbyte_source_custom" "this" {
│
│ unknown status code returned: Status 404
│ {"status":404,"type":"https://reference.airbyte.com/reference/errors#resource-not-found","title":"resource-not-found","detail":"The requested resource
│ could not be found.","documentationUrl":null,"data":{"resourceType":"STANDARD_SOURCE_DEFINITION","resourceId":"8f342433-e5ee-407e-a56a-16523423c544ec"}}kapa.ai
07/10/2025, 10:28 AMShounak Bhandekar
07/10/2025, 10:31 AMkapa.ai
07/10/2025, 10:31 AMkapa.ai
07/10/2025, 10:31 AMShounak Bhandekar
07/10/2025, 10:35 AMkapa.ai
07/10/2025, 10:35 AMkapa.ai
07/10/2025, 10:35 AMGET /workspaces/{workspaceId}/definitions/declarative_sources/ — List all YAML source definitions in a workspace. - GET /workspaces/{workspaceId}/definitions/declarative_sources/{definitionId} — Get a specific YAML source definition. - Import (Create) custom YAML source definitions: - POST /workspaces/{workspaceId}/definitions/declarative_sources/ — Create a new YAML source definition by posting your manifest. - Update/Delete: - PUT /workspaces/{workspaceId}/definitions/declarative_sources/{definitionId} — Update a YAML source definition. - DELETE /workspaces/{workspaceId}/definitions/declarative_sources/{definitionId} — Delete a YAML source definition. You can find more details and the full API reference [here](https://reference.airbyte.com/reference/getting-started#/). Note that in Airbyte Cloud, you can only create or modify custom connectors using a YAML manifest, and you cannot modify public connector definitions [Create custom connectors from YAML or Docker images using the API and Terraform](https://docs.airbyte.com/release_notes/v-1.6#create-custom-connectors-from-yaml-or-docker-images-using-the-api-and-terraform). If you are using Docker-based custom connectors, similar endpoints exist for source and destination definitions. Summary: Use the /workspaces/{workspaceId}/definitions/declarative_sources/ endpoints to export (GET) and import (POST) custom YAML sources via the Airbyte API.Shounak Bhandekar
07/10/2025, 10:48 AMkapa.ai
07/10/2025, 10:48 AMkapa.ai
07/10/2025, 10:48 AM