# plugins-general


03/08/2021, 4:54 PM
Hi @peter_kosztolanyi ! I was running my Meltano project on Friday just fine, but today when I am trying to run a pipeline I am getting this error from the target-postgres target:
Copy code
target-postgres                 | Traceback (most recent call last):
target-postgres                 |   File "/project/.meltano/loaders/target-postgres/venv/bin/target-postgres", line 8, in <module>
target-postgres                 |     sys.exit(main())
target-postgres                 |   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/", line 373, in main
target-postgres                 |     persist_lines(config, singer_messages)
target-postgres                 |   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/", line 133, in persist_lines
target-postgres                 |     primary_key_string = stream_to_sync[stream].record_primary_key_string(o['record'])
target-postgres                 |   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/", line 337, in record_primary_key_string
target-postgres                 |     flatten = flatten_record(record, self.flatten_schema, max_level=self.data_flattening_max_level)
target-postgres                 |   File "/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/", line 148, in flatten_record
target-postgres                 |     for k, v in d.items():
target-postgres                 | AttributeError: 'list' object has no attribute 'items'
Have you ever seen this before? Any chance you'd be able to help me out? Thank you!