finn_frotscher
09/30/2021, 8:12 AMtarget-bigquery
throws and OBJECT is not a valid value
error when data from hubspot-tap
is piped into it.
cat hubspotdata | meltano --log-level=debug invoke target-bigquery
how do I debug somehting like this?
any idea what causes this?
INFO Appending to t_test-contact_lists_0ca392f6d2a24f889f52fcad32ca20c1
INFO loading t_test-contact_lists_0ca392f6d2a24f889f52fcad32ca20c1 to BigQuery
ERROR failed to load table t_test-contact_lists_0ca392f6d2a24f889f52fcad32ca20c1 from file: 400 POST <https://bigquery.googleapis.com/upload/bigquery/v2/projects/warehouse-310706/jobs?uploadType=resumable>: Invalid value for type: OBJECT is not a valid value
CRITICAL 400 POST <https://bigquery.googleapis.com/upload/bigquery/v2/projects/warehouse-310706/jobs?uploadType=resumable>: Invalid value for type: OBJECT is not a valid value
visch
09/30/2021, 11:45 AMvisch
09/30/2021, 11:47 AMmeltano.yml
to just pull contact-list information. Verify you can production the issue.
Then If you still don't see the issue, I'd slap some print ln's in target-bigquery around wherever that error is happening. Since there's not a stack trace it makes this a little harderedgar_ramirez_mondragon
09/30/2021, 7:18 PMfilters[*][*]
or metaData
. So within hubspotdata
you might wanna look for strange values of those that are not actual JSON objects.finn_frotscher
10/01/2021, 7:45 AMfinn_frotscher
10/01/2021, 8:42 AMcontact_lists
.
the contacts sync fine, but are in some kind of nested structure.
select:
# - contacts.*
- contact_lists.*
finn_frotscher
10/01/2021, 9:03 AMedgar_ramirez_mondragon
10/01/2021, 4:12 PM