Regarding the Facebook Marketing component (v. 0.2...
# replication-troubleshooting
t
Regarding the Facebook Marketing component (v. 0.2.85) integration with Snowflake …
After the latest upgrade we were able to successfully connect to Facebook Marketing. The sync process is erroring out for 2 reasons. 1. The script is attempting to convert
variant
to
varchar
Copy code
[33mDatabase Error in model AD_SETS_SCD (models/generated/airbyte_incremental/scd/FACEBOOK_ADS/AD_SETS_SCD.sql)[0m
2023-03-15 17:28:49 [42mnormalization[0m >   002108 (22000): SQL compilation error: cannot change column ID from type VARIANT to VARCHAR(16777216)
2. The script is failing to convert
variant
to
TIMESTAMP_TZ
Copy code
Failed to cast variant value "2021-07-01T12:00:51-0400" to TIMESTAMP_TZ
I’m in the process of manually dropping/adding the columns that are erroring.
I’m going to drop all the Snowflake tables and the Airbyte connection and try afresh.
l
How did this go? Did you find a solution?
t
@Lucas Wiley, no I was unable to solve this with Airbyte. I ended up writing custom Python code to ingest this data.
👍 1