In this reference:
Common loading errors
The following errors are applicable to multiple or all destinations:
- Column name [COLUMN] is too long for [DESTINATION]
- column names from client should not include reserved datatype suffix on [COLUMN_NAME]
- decimal out of range for [DESTINATION] on [DECIMAL]
- ERROR: too many columns
- Field collision on [COLUMN_NAME]
- integer out of range for [DESTINATION] on [INTEGER]
- Table name [TABLE] is too long for [DESTINATION]
- timestamp out of range for [DESTINATION] on [TIMESTAMP]
Column name exceeds destination limit
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||||||||
Category |
Destination object naming |
|||||||||||||||||||||||||||||||||||||||
Potential cause(s) |
A column name contains more characters than allowed by the destination. |
|||||||||||||||||||||||||||||||||||||||
Suggested action(s) |
If neither solution is feasible, you may need to select a destination with a higher character limit for column names. Refer to the table below for each destination’s column name limits:
|
Back to Common error list
Back to top
Table or column contains reserved words
Applicable to |
All destinations |
Level | Warning |
Category |
Stitch object naming |
Potential cause(s) |
A table or column contains reserved words. |
Suggested action(s) |
Remove the reserved words by re-naming the table or column in the source. |
Back to Common error list
Back to top
Decimal out of range
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||
Category |
Destination data type limits |
|||||||||||||||||||||||||||||||||
Potential cause(s) |
Decimal data exceeds the destination’s allowed range. |
|||||||||||||||||||||||||||||||||
Suggested action(s) |
Remove offending values in the source, or change them to be within the allowed range for the destination type:
|
Back to Common error list
Back to top
Table contains too many columns
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||||||||
Category |
Destination object limits |
|||||||||||||||||||||||||||||||||||||||
Potential cause(s) |
A table contains more columns than the destination allows. |
|||||||||||||||||||||||||||||||||||||||
Suggested action(s) |
De-select columns in Stitch to allow data to continue loading into the destination table. Refer to the table below for each destination’s columns per table limit:
|
Back to Common error list
Back to top
Column name collision
Applicable to |
All destinations |
Level | Warning |
Category |
Destination object naming |
Potential cause(s) |
Two columns are replicated that canonicalize to the same name. For example: In Amazon Redshift, Stitch lowercases column names |
Suggested action(s) |
If possible, re-name one of the columns in the source so that both column names will be unique when replicated to the destination. |
Back to Common error list
Back to top
Integer out of range
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||
Category |
Destination data type limits |
|||||||||||||||||||||||||||||||||
Potential cause(s) |
Integer data exceeds the destination’s allowed range. |
|||||||||||||||||||||||||||||||||
Suggested action(s) |
Remove offending values in the source, or change them to be within the allowed range for the destination type:
|
Back to Common error list
Back to top
Table name exceeds destination limit
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||||||||
Category |
Destination object naming |
|||||||||||||||||||||||||||||||||||||||
Potential cause(s) |
A table name contains more characters than allowed by the destination. |
|||||||||||||||||||||||||||||||||||||||
Suggested action(s) |
If neither solution is feasible, you may need to select a destination with a higher character limit for table names. Refer to the table below for each destination’s table name limits:
|
Back to Common error list
Back to top
Timestamp out of range
Applicable to |
All destinations |
|||||||||||||||||||||||||||||||||
Level | Warning | |||||||||||||||||||||||||||||||||
Category |
Destination data type limits |
|||||||||||||||||||||||||||||||||
Potential cause(s) |
Timestamp data exceeds the destination’s allowed range. |
|||||||||||||||||||||||||||||||||
Suggested action(s) |
Remove offending values in the source, or change them to be within the allowed range for the destination type:
|
Back to Common error list
Back to top
Amazon Redshift and Panoply loading errors
- Encountered error while attempting to create new schema.
- ERROR: cannot drop table [SCHEMA_NAME].[TABLE_NAME] column type because other objects depend on it Hint: Use DROP ... CASCADE to drop...
- ERROR: Cannot execute query because system is in resize mode Detail: System is in resize mode, and ONLY read-only queries...
- ERROR: Disk Full Detail: ----------------------------- error: Disk Full code: 1016 context: node: 3 query: 1005177 location: fdisk_api.cpp:345 process: query3_66 [pid=27629]...
- ERROR: must be owner of relation [TABLE_NAME]
- ERROR: permission denied for schema [SCHEMA_NAME]
- FATAL: database "[DATABASE_NAME]" does not exist
Cannot create new schema
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Database user privileges |
Potential cause(s) |
Stitch is unable to create or load data into a schema in your destination. This is usually due to insufficient database user privileges. |
Suggested action(s) |
Verify that the database user authorizing the connection has all the required privileges as outlined in the Amazon Redshift setup instructions. |
Back to Amazon Redshift error list
Back to top
Dependent views
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Dependent views |
Potential cause(s) |
Stitch is attempting to widen a |
Suggested action(s) |
Temporarily drop the dependent views, which will allow Stitch to widen the columns. This process usually takes about an hour. |
Back to Amazon Redshift error list
Back to top
System is in resize mode
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
End-user destination change |
Potential cause(s) |
Someone adjusted (up or down) the number of nodes of your Amazon Redshift instance and Amazon is currently applying that change. |
Suggested action(s) |
This is a transient issue. Stitch should be able to resume loading data once the resize is completed. |
Back to Amazon Redshift error list
Back to top
Disk is full
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Destination disk space |
Potential cause(s) |
The Amazon Redshift instance is full. |
Suggested action(s) |
|
Back to Amazon Redshift error list
Back to top
Insufficient table privileges
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Database user privileges |
Potential cause(s) |
Stitch is not the owner of a table in Amazon Redshift, which is required to perform functions necessary to load data. |
Suggested action(s) |
Verify that the database user authorizing the connection has all the required privileges as outlined in the Amazon Redshift setup instructions. |
Back to Amazon Redshift error list
Back to top
Insufficient schema privileges
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Database user privileges |
Potential cause(s) |
Stitch does not have privileges to create tables within a schema in Amazon Redshift. |
Suggested action(s) |
Verify that the database user authorizing the connection has all the required privileges as outlined in the Amazon Redshift setup instructions. |
Back to Amazon Redshift error list
Back to top
Database doesn't exist
Applicable to |
Amazon Redshift destinations |
Level | Critical |
Category |
Connection settings |
Potential cause(s) |
Stitch can’t find the database in Amazon Redshift that has been entered into the Destination Settings page. |
Suggested action(s) |
Verify that the correct database is entered in the Destination Settings page of Stitch. |
Back to Amazon Redshift error list
Back to top
Databricks Delta Lake loading errors
Mismatched Amazon S3 and Stitch account regions
Applicable to |
Databricks Delta Lake destinations |
Level | Critical |
Category |
Amazon S3 bucket configuration |
Potential cause(s) |
The Amazon S3 bucket isn’t in the same AWS region as your Stitch account. |
Suggested action(s) |
Use an Amazon S3 bucket that’s in the same AWS region as your Stitch account. Currently, all Stitch accounts are in the |
Back to Databricks Delta Lake error list
Back to top
Google BigQuery loading errors
Numeric data out of range
Applicable to |
All Google BigQuery destination versions |
||||||
Level | Warning | ||||||
Category |
Destination data type limits |
||||||
Potential cause(s) |
Numeric data exceeds the destination’s allowed range. |
||||||
Suggested action(s) |
Remove offending values in the source, or change them to be within the allowed range for Google BigQuery:
|
Back to Google BigQuery error list
Back to top
Primary Key change is not permitted
Applicable to |
Google BigQuery v2 destinations |
Level | Critical |
Category |
Primary Keys |
Potential cause(s) |
The Primary Keys of incoming data don’t match the Primary Keys of the table in the destination. This can be caused by:
|
Suggested action(s) |
Reset the table(s) mentioned in the error. This will queue a full re-replication of the table(s), which will ensure Primary Keys are correctly captured and used to de-dupe data when loading. |
Back to Google BigQuery error list
Back to top
Microsoft SQL Server loading errors
- Incoming Primary Key type does not match Primary Key type in existing table
- Incoming Primary Keys do not match Primary Keys in existing table
Primary Key type change is not permitted
Applicable to |
Microsoft SQL Server destinations |
Level | Critical |
Category |
Primary Keys |
Potential cause(s) |
The type of the Primary Key of incoming data doesn’t match the the type of the Primary Key of the table in the destination. This can be caused by:
|
Suggested action(s) |
Reset the table(s) mentioned in the error. This will queue a full re-replication of the table(s), which will ensure Primary Keys are correctly captured and used to de-dupe data when loading. |
Back to Microsoft SQL Server error list
Back to top
Primary Key change is not permitted
Applicable to |
Microsoft SQL Server destinations |
Level | Critical |
Category |
Primary Keys |
Potential cause(s) |
The Primary Keys of incoming data don’t match the Primary Keys of the table in the destination. This can be caused by:
|
Suggested action(s) |
Reset the table(s) mentioned in the error. This will queue a full re-replication of the table(s), which will ensure Primary Keys are correctly captured and used to de-dupe data when loading. |
Back to Microsoft SQL Server error list
Back to top
PostgreSQL loading errors
- Encountered error while attempting to create new schema.
- ERROR: could not extend file "base/16389/t2_285302": No space left on device Hint: Check free disk space. Where: COPY staging_0_[FILE_NAME], line...
- ERROR: could not write block XXXX of temporary file: No space left on device
Insufficient schema privileges
Applicable to |
All PostgreSQL-backed destinations |
Level | Critical |
Category |
Database user privileges |
Potential cause(s) |
Stitch is unable to create or load data into a schema in your destination. This is usually due to insufficient database user privileges. |
Suggested action(s) |
Verify that the Stitch database user has the required permissions, as outlined here. |
Back to PostgreSQL error list
Back to top
Disk is full
Applicable to |
All PostgreSQL-backed destinations |
Level | Critical |
Category |
Destination disk space |
Potential cause(s) |
The PostgreSQL instance is full. |
Suggested action(s) |
|
Back to PostgreSQL error list
Back to top
Insufficient storage space
Applicable to |
All PostgreSQL-backed destinations |
Level | Critical |
Category |
Destination disk space |
Potential cause(s) |
The PostgreSQL instance is full. |
Suggested action(s) |
|
Back to PostgreSQL error list
Back to top
Snowflake loading errors
Primary Key change is not permitted
Applicable to |
Snowflake destinations |
Level | Critical |
Category |
Primary Keys |
Potential cause(s) |
The Primary Keys of incoming data don’t match the Primary Keys of the table in the destination. This can be caused by:
|
Suggested action(s) |
Reset the table(s) mentioned in the error. This will queue a full re-replication of the table(s), which will ensure Primary Keys are correctly captured and used to de-dupe data when loading. |
Back to Snowflake error list
Back to top
Questions? Feedback?
Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.