Looks like, at least one of the contact_object_id in the source file (stg) is already present in your target table (PR) (may be from previous loads). And as you have defined contact_object_id as UPI, it is not allowing to insert it again and throwing an error.
↧