Skip to content

Instantly share code, notes, and snippets.

@kerin
Last active August 29, 2015 13:55
Show Gist options
  • Save kerin/8705950 to your computer and use it in GitHub Desktop.
Save kerin/8705950 to your computer and use it in GitHub Desktop.
IntegrityError: (IntegrityError) duplicate key value violates unique constraint "panelists_pkey"
DETAIL: Key (id)=(23845) already exists.
'INSERT INTO panelists (panelist_id, pmxid, medium, facebook_id, twitter_id, twitter_screen_name, twitter_updated_at, twitter_leaders)
VALUES (%(panelist_id)s, %(pmxid)s, %(medium)s, %(facebook_id)s, %(twitter_id)s, %(twitter_screen_name)s, %(twitter_updated_at)s, %(twitter_leaders)s)
RETURNING panelists.id'
{'medium': 'twitter', 'twitter_screen_name': u'ruthlovell', 'twitter_id': 90618500, 'pmxid': 431447, 'twitter_leaders': None, 'facebook_id': None, 'twitter_updated_at': None, 'panelist_id': None}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment