Could not upload "Document Name ". Reason: You do not have sufficient privileges to create a new version

I am trying to replace the existing document with new document but I'm getting this error .  I'm using the primary key  of the each record as target  ,I configured the update as record action, and I cannot delete the existing record because that Id is used as main request id since the record is created with document upload. 

  Discussion posts and replies are publicly visible