org.postgresql.util.PSQLException: ERROR: insert or update on table "extrnlnks" violates foreign key constraint "fk97c10fe78dd41734" Detail: Key (contentid)=(1213498) is not present in table "content".

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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>

Solutions on the web

via Atlassian JIRA by Stefan Saasen, 1 year ago
ERROR: insert or update on table "extrnlnks" violates foreign key constraint "fk97c10fe78dd41734" Detail: Key (contentid)=(1213498) is not present in table "content".
via Atlassian JIRA by Stefan Saasen [Atlassian], 1 year ago
ERROR: insert or update on table "extrnlnks" violates foreign key constraint "fk97c10fe78dd41734" Detail: Key (contentid)=(1213498) is not present in table "content".
via GitHub by wezell
, 2 years ago
ERROR: duplicate key value violates unique constraint "idx_field_velocity_structure"
via openbravo by huomas
, 1 year ago
ERROR: relation "ad\_field" does not exist    FROM AD\_FIELD, AD\_COLUMN          left join ad\_model\_object mo on ad\_column.ad\_process\_id = mo.ad\_process\_id                        and mo.isactive = 'Y'                        and mo.action
via adempiere by wght
, 1 year ago
ERROR: "rv\_pp\_operation\_activity" is not a view
via openbravo by charleswhj
, 1 year ago
ERROR: relation "ad\_column" does not exist
org.postgresql.util.PSQLException: ERROR: insert or update on table "extrnlnks" violates foreign key constraint "fk97c10fe78dd41734" Detail: Key (contentid)=(1213498) is not present in table "content".
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 12 hours ago
Once, 1 week ago
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Once, 2 weeks ago
100 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.