...Duplicates value on record with id xxxxxxxxx for orig_system_ref xxxxxxx_users_us...
(Wording may be slightly different based on the field that throws the error).
You can't supply a duplicate value for a field that must be unique. Verify your data that you are passing to Salesforce. In the above example, you may have submitted two copies of the same session ID in a invalidateSessions() call.