org.postgresql.util.PSQLException

ERROR: duplicate key value violates unique constraint "requestlogging_pkey" Detail: Key (id, "timestamp")=(a7813f97-7c0d-4739-b20b-a2a6ab2f32a3, 1470137399294243) already exists.

Samebug tips1

Try downgrading PostgresSQL server to 9.5 or update your PostgresSQL driver to 9.4-1211 with the following command: <postgresql.version>9.4.1211</postgresql.version>

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3066

  • ERROR: duplicate key value violates unique constraint "requestlogging_pkey" Detail: Key (id, "timestamp")=(a7813f97-7c0d-4739-b20b-a2a6ab2f32a3, 1470137399294243) already exists.
  • via jboss.org by Unknown author, 1 year ago
    ERROR: duplicate key value violates unique constraint "organizationalentity_pkey" Detail: Key (id)=(sales) already exists.
  • ERROR: duplicate key value violates unique constraint "datafilecategory_pkey" Detail: Key (id)=(3) already exists.
  • Stack trace

    • org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "requestlogging_pkey" Detail: Key (id, "timestamp")=(a7813f97-7c0d-4739-b20b-a2a6ab2f32a3, 1470137399294243) already exists. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2270) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1998) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 3 weeks ago
    131 times, 1 month ago
    7 times, 1 month ago
    Unknown user
    Once, 2 months ago
    Once, 2 months ago
    91 more bugmates