<@U04S8PLJWMT> Receiving `An unknown error occurre...
# ask-ai
g
@kapa.ai Receiving
An unknown error occurred. (HTTP 409)
when attempting to save schema changes
k
The HTTP 409 error ("Conflict") when attempting to save schema changes in Airbyte is often related to issues with database access or schema conflicts. According to user reports and logs, this error can be accompanied by messages such as "Failed to access database. Check the server logs for more information" and may be caused by underlying database problems, such as: - Database version mismatches or incompatibilities. - Issues with the Airbyte server's ability to connect to or read from the database. - Problems after upgrading or downgrading Airbyte versions, especially if the database schema is not compatible with the current Airbyte version. - Corrupted or improperly shut down databases, as seen in PostgreSQL logs. Some users have resolved this issue by upgrading their Airbyte components (bootloader, server, webapp, worker) to a newer version (e.g., from 1.3.1 to 1.5.1). If you are using an external PostgreSQL database, ensure it is supported and properly configured for your Airbyte version. Also, check the Airbyte server and database logs for more detailed error messages, as they may provide clues about the root cause of the conflict. If the problem persists after checking the above, consider upgrading to a newer Airbyte version, as some users have reported this resolves the HTTP 409 error when saving schema changes [Github Issue: "Cannot cast to boolean" and "Failed to access database" DB errors + HTTP 409 error](https://github.com/airbytehq/airbyte/issues/54150). If you need to review or approve schema changes, ensure you are following the correct workflow in the Airbyte UI, as described in the documentation. Breaking schema changes (like removal of a primary key or cursor) will pause the connection and require manual intervention [Schema Change Management](https://docs.airbyte.com/platform/using-airbyte/schema-change-management#detect-and-propagate-schema-changes-connection-setting). If you continue to encounter issues, please provide more details from your server and database logs for further troubleshooting.
g
@kapa.ai I’m using Airbyte Cloud
k
A message from kapa.ai
If you are using Airbyte Cloud and receive an "An unknown error occurred. (HTTP 409)" when attempting to save schema changes, the knowledge sources do not provide a specific root cause or solution for this exact scenario on Airbyte Cloud. Most available troubleshooting steps and user reports are related to self-managed or OSS deployments, often involving database conflicts or version mismatches. For Airbyte Cloud, schema changes are detected automatically before each sync (up to every 15 minutes), and you can manually refresh the schema at any time. If you encounter errors when saving schema changes, it may be due to a breaking schema change (such as removal of a primary key or cursor), which will pause the connection and require manual review in the UI. In such cases, you should review the schema changes in the Schema tab and follow the prompts to resolve any breaking changes [Schema Change Management](https://docs.airbyte.com/platform/using-airbyte/schema-change-management#detect-and-propagate-schema-changes-connection-setting). However, if the error persists and is not related to a breaking schema change, the knowledge sources do not provide further troubleshooting steps specific to Airbyte Cloud. In this case, it is recommended to contact Airbyte support for assistance, as they can access logs and provide guidance tailored to the managed environment. Summary: - Review the Schema tab for any breaking changes and resolve them as prompted. - If the error is not due to a breaking change, contact Airbyte Cloud support for further help, as the knowledge sources do not contain a direct solution for this error on Airbyte Cloud.