Unique constraint error on "projects_kee"

we are receiving the error when the bamboo job runs for the plan branch

visit failed for the component

errorMessage": "Visit failed for Component {key=xx-xx-JOB1new:src/classes/xxx.cls,type=FILE} located Xxxx-xxx-JOB1new:src/classes(type=DIRECTORY)-XXXX1new(type=PROJECT

Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint “projects_kee”