Dustin Shapiro
08/11/2025, 3:30 PMError: failure to invoke API │ │ with module.airbyte_connector["partnerships_marketplace_airbyte_connector"].airbyte_connection.postgres_to_snowflake, │ on ../.modules/airbyte-connector/main.tf line 93, in resource "airbyte_connection" "postgres_to_snowflake": │ 93: resource "airbyte_connection" "postgres_to_snowflake" { │ │ unknown status code returned: Status 500 │ {"status":500,"type":"https://reference.airbyte.com/reference/errors","title":"unexpected-problem","detail":"An │ unexpected problem has occurred. If this is an error that needs to be │ addressed, please submit a pull request or github │ issue.","documentationUrl":null,"data":{"message":"Something went wrong in │ the connector. logs:The discover catalog failed due to an internal error │ for source: 67260e9b-342f-4a15-a46d-bf0f8d27ca73"}}kapa.ai
08/11/2025, 3:30 PMError: failure to invoke API unknown status code returned: Status 500 {"status":500,"type":"https://reference.airbyte.com/reference/errors","title":"unexpected-problem","detail":"An unexpected problem has occurred. If this is an error that needs to be addressed, please submit a pull request or github issue.","documentationUrl":null,"data":{"message":"Something went wrong in the connector. logs:The discover catalog failed due to an internal error for source: 67260e9b-342f-4a15-a46d-bf0f8d27ca73"}} indicates that Airbyte encountered an internal server error (HTTP 500) while trying to run the "discover catalog" step for your source connector. This is a common symptom when there is a problem with the source connector configuration, the source database itself, or a bug in Airbyte. Based on the knowledge sources, similar errors have been reported in the following scenarios: - Connector or Source Misconfiguration: If the source connector is misconfigured or the credentials are invalid, the discover catalog step can fail and return a 500 error. Double-check your source configuration, especially credentials and network access. - Schema Discovery Issues: There are cases where the schema discovery fails due to unexpected data types or issues in the source database (e.g., unsupported types, null values, or very long field names) which can cause internal errors during catalog discovery. For example, a field with an unsupported data type (like VECTOR in Snowflake) can cause a similar error during discovery, resulting in a 500 error and a message about an internal error in the connector logs. Review your source schema for unusual or unsupported types if possible. [Snowflake discover error with VECTOR type](https://github.com/airbytehq/airbyte/issues/60914) - Terraform/Airbyte Provider Issues: There have been reports of 500 errors when using Terraform to create connections, sometimes due to mismatches in expected property values or bugs in the provider. Upgrading to the latest version of the Airbyte Terraform provider has resolved some of these issues for other users. [Terraform provider data_residency issue](https://github.com/airbytehq/airbyte/issues/56454) - General Internal Errors: Sometimes, the error is due to a transient or internal bug in Airbyte itself. Restarting the Airbyte server or re-deploying the connector has resolved the issue for some users. [General 500 error troubleshooting](https://github.com/airbytehq/airbyte/issues/54058) Recommended next steps: 1. Check the Airbyte server and connector logs for more detailed error messages related to the discover catalog step. 2. Review your source connector configuration for any misconfigurations or unsupported schema elements. 3. Ensure you are using the latest version of the Airbyte Terraform provider and Airbyte itself. 4. If the error persists, try recreating the connection via the Airbyte UI to see if the error is specific to Terraform. 5. If you identify a specific schema element (like a problematic data type or field name), try removing or renaming it and re-running the apply. If none of these steps resolve the issue, you may need to open a GitHub issue with detailed logs for further assistance, as this could be a bug in Airbyte or the connector itself. Let me know if you need help interpreting specific log messages or further troubleshooting steps!