Title: exported generated wp json throws sql constraint error
Last modified: August 21, 2016

---

# exported generated wp json throws sql constraint error

 *  [bsdlp](https://wordpress.org/support/users/bsdlp/)
 * (@bsdlp)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/exported-generated-wp-json-throws-sql-constraint-error/)
 * Error importing data: SQLITE_CONSTRAINT: column slug is not unique
 * Can provide json if needed.
 * [http://wordpress.org/plugins/ghost/](http://wordpress.org/plugins/ghost/)

Viewing 1 replies (of 1 total)

 *  [xxdesmus](https://wordpress.org/support/users/xxdesmus/)
 * (@xxdesmus)
 * [12 years ago](https://wordpress.org/support/topic/exported-generated-wp-json-throws-sql-constraint-error/#post-4220127)
 * Got the exact same problem.
 * “Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: posts.slug”
 * Exported from WordPress, and tried to import the JSON.

Viewing 1 replies (of 1 total)

The topic ‘exported generated wp json throws sql constraint error’ is closed to 
new replies.

 * ![](https://ps.w.org/ghost/assets/icon-256x256.png?rev=2714286)
 * [Ghost](https://wordpress.org/plugins/ghost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ghost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ghost/)
 * [Active Topics](https://wordpress.org/support/plugin/ghost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ghost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ghost/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [xxdesmus](https://wordpress.org/support/users/xxdesmus/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/exported-generated-wp-json-throws-sql-constraint-error/#post-4220127)
 * Status: not resolved