Joseph To
07/18/2025, 4:54 PMkapa.ai
07/18/2025, 4:54 PMnet.snowflake.client.jdbc.SnowflakeSQLException: SQL compilation error: Table 'PROD_RAW.RAW_PUBLIC._AIRBYTE_RAW_O_CUSTOMER_CT' does not exist or not authorized. suggests that Airbyte is unable to find or access the expected raw table in your Snowflake instance. Based on the knowledge sources, similar errors have been reported in various contexts, and the root causes typically fall into these categories: 1. Table or Schema Does Not Exist: The raw table (_AIRBYTE_RAW_O_CUSTOMER_CT) may not have been created due to a failure earlier in the sync process, or the schema (RAW_PUBLIC) may not exist or is misspelled. Double-check that the schema and table exist in your Snowflake instance. 2. Permissions Issue: The user configured for the Snowflake destination may lack the necessary permissions to access the schema or table. Ensure that the credentials used by Airbyte have the correct privileges to read and write to the relevant schemas and tables. This is a common cause, as seen in other support cases where missing permissions led to similar errors[Airbyte connection stopped working while nothing changes](https://discuss.airbyte.io/t/1178). 3. Namespace/Schema Configuration: If you are using custom namespaces or schemas, ensure that the connector is configured to use the correct schema. There have been issues where Airbyte looked for tables in the wrong schema due to misconfiguration[Snowflake destination sync fails with custom namespace](https://github.com/airbytehq/airbyte/issues/26373). 4. Upgrade-Related Changes: Upgrading the connector may introduce changes in how tables are named or managed. Review the [Snowflake Migration Guide](https://docs.airbyte.com/integrations/destinations/snowflake-migrations#snowflake-migration-guide) for any breaking changes or required migration steps when upgrading between versions. Recommended Actions: - Verify that the schema and table exist in Snowflake. - Check that the Airbyte user has the necessary permissions. - Review your destination configuration for schema/namespace accuracy. - Consult the migration guide for any upgrade-specific steps. If after these checks the issue persists, there may be a connector-specific bug or migration issue not fully covered in the available documentation. In that case, consider rolling back to 3.11.1 and reaching out to Airbyte support or opening a GitHub issue with detailed logs and configuration for further assistance. If you need more specific troubleshooting steps, please provide additional context such as your destination configuration and any recent changes to your Airbyte or Snowflake setup.Joseph To
07/18/2025, 6:52 PMkapa.ai
07/18/2025, 6:52 PMkapa.ai
07/18/2025, 6:52 PM_AIRBYTE_RAW_* are internal tables created by the Airbyte connector. These "raw tables" are used as staging areas where Airbyte initially writes the ingested data in JSON format before any further processing, such as typing and deduping, or normalization. The presence and management of these tables can change depending on the connector version and configuration. With the introduction of Destinations V2 and direct-load connectors, Airbyte has started to move these internal raw tables to a dedicated schema (often airbyte_internal) and, in some cases, may not persist them at all unless you specifically enable legacy options. The raw tables are not intended for direct querying or long-term use, and their structure or location may change between versions. If you rely on these tables for downstream processes, you should review the upgrade and migration documentation carefully, as breaking changes may affect their availability or structure[Upgrading as a User of Raw Tables](https://docs.airbyte.com/release_notes/upgrading_to_destinations_v2#upgrading-as-a-user-of-raw-tables) [Direct-Load Tables](https://docs.airbyte.com/platform/using-airbyte/core-concepts/direct-load-tables). If you see errors related to these tables not existing or being unauthorized after an upgrade, it may be due to changes in how Airbyte manages internal tables or schema permissions. Double-check your connector settings and review the relevant upgrade notes.