More troubleshooting: Does anyone recognise this e...
# troubleshooting
m
More troubleshooting: Does anyone recognise this error?
Copy code
CRITICAL ['Traceback (most recent call last):
  File "/Users/martennilsson/src/pg-to-bq/.meltano/loaders/target-bigquery/venv/lib/python3.8/site-packages/target_bigquery/__init__.py", line 129, in main
    for state in state_iterator:
      File "/Users/martennilsson/src/pg-to-bq/.meltano/loaders/target-bigquery/venv/lib/python3.8/site-packages/target_bigquery/process.py", line 54, in process
    for s in handler.handle_record_message(msg):
      File "/Users/martennilsson/src/pg-to-bq/.meltano/loaders/target-bigquery/venv/lib/python3.8/site-packages/target_bigquery/processhandler.py", line 179, in handle_record_message
    nr = format_record_to_schema(nr, self.bq_schema_dicts[stream])
      File "/Users/martennilsson/src/pg-to-bq/.meltano/loaders/target-bigquery/venv/lib/python3.8/site-packages/target_bigquery/schema.py", line 443, in format_record_to_schema
    record[k] = conversion_dict[bq_schema[k]["type"]](v)
    ', "KeyError: 'RECORD'
"] cmd_type=elb consumer=True name=target-bigquery producer=False stdio=stderr string_id=target-bigquery
I get it when runnning
meltano run tap-postgres target-bigquery
a
https://github.com/dluftspring/tap-hellobaton/issues/8 Found this on searching for your error, their approach might help you out as well.
m
Will have a look, thanks!