error: 23505: duplicate key value violates unique constraint
See original GitHub issueHi
I’m not sure if this is a bug or a configuration issue. Every time I deploy a change, eventually I get the following error:
{"errorMessage":"Workflow faulted at 2021-07-30T05:56:34Z with error: 23505: duplicate key value violates unique constraint \"WorkflowExecutionLog_Document_pkey\"","workflow":{"name":null,"version":2,"instanceId":"60aff5f287fd4cda8f49efb603d21dd6"}}
For reference: I’m using YesSql and Postgres
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
error 23505 duplicate key value violates unique constraint ...
If you have a sequencer on the field (like with a serial column type), it is likely out of sync with the table...
Read more >PostgreSQL Error code 23505 - How to fix
This happens when the primary key sequence in the table we're working on becomes out of sync. And this might likely be because...
Read more >Fixing table structure to avoid `Error: duplicate key value ...
At a later point some records are inserted without id and they fail with the error: Error: duplicate key value violates unique constraint...
Read more >SQLSTATE 23505 returned when a unique value ...
IBM Content Collector: SQLSTATE 23505 returned when a unique value constraint is violated in Content Manager repository ... Problem. When running ...
Read more >error 23505 duplicate key value violates unique constraint ...
That likely means that the primary key sequence in the table you're working with has somehow become out of sync, likely because of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sfmskywalker thanks a lot. I will be updating them today. I’ll confirm ASAP. @JoschaMetze thanks.
Separate question, are you moving away from nuget.org to myget?
@sfmskywalker fix works wonderful by the way, thanks for the quick fix.