Hello everyone, I was trying to use a loader targe...
# getting-started
p
Hello everyone, I was trying to use a loader target-postgres and got this message Exception: key_properties field is required How can I fix this issue?
u
@peter the key_properties attribute contains the keys that make up the primary key for the stream see these docs for more details. Depending on your tap you may or may not have those attributes populated you can run
meltano invoke tap-x > output.json
to inspect the SCHEMA key properties. Also for target-postgres theres an option to not require a primary keys https://hub.meltano.com/loaders/target-postgres#primary_key_required-setting, it defaults to requiring them and throwing and error if they dont exist.