# \[ipboard.rb\] ERROR: duplicate key value violates unique constraint "import\_ids\_pkey" (PG::UniqueViolation)

**URL:** <https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492>\
**Category:** Migration\
**Created:** [7 בנובמבר,‏ 2021,‏ 6:54pm UTC](https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492 "2021-11-07T18:54:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [8 בנובמבר,‏ 2021,‏ 12:02am UTC](https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492/2 "2021-11-08T00:02:20Z")

</div>

Maybe the script is using the wrong ID? Or maybe the version you’re coming from isn’t what the script expects.

You didn’t run the script, then delete topics and try to run it again did you?

---

_[View the full topic](https://meta.discourse.org/t/ipboard-rb-error-duplicate-key-value-violates-unique-constraint-import-ids-pkey-pg-uniqueviolation/208492)._
