I have inserted few rows in table using insert query using same kind of query.
Then suddenly I am getting below error every time inserting data & I have checked previous queries and both are same.
ERROR: duplicate key value violates unique constraint "accounts_pagepermission_pkey"
DETAIL: Key (id)=(357) already exists.
SQL state: 23505
Does any one idea what will be the reason behind this.