SOAP updateUser web service returns error code 401655: "The external system code and the user external system code are not the same"
- Article Type: Q&A
- Product: Alma
Question
We tried to update a user record via SOAP UpdateUser web service but we were presented with the following error message:
"The external system code and the user external system code are not the same"
see here the full response:
See here the full error response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:updateUserResponse xmlns:ns2="http://alma.exlibris.com/">
<SearchResults><![CDATA[<web_service_result xmlns="http://com/exlibris/urm/general/xmlbeans">
<errorsExist>true</errorsExist>
<errorList>
<error>
<errorCode>401655</errorCode>
<errorMessage>The external system code and the user external system code are not the same</errorMessage>
</error>
</errorList>
</web_service_result>]]></SearchResults>
</ns2:updateUserResponse>
</soap:Body>
</soap:Envelope>
What is the “external system code” ? Is this an Alma code? Please help.
Answer
The error occurs because arg2 contains 'SIS', and the user’s external id is 'SIS_temp':
..
<xb:externalId>SIS_temp</xb:externalId>
..
You can also see a user's external id in Alma - it's displayed as "Owner" in the header of User Details screen.
In order to update a user, arg2 should the same as the external id.
Additional Information
similar error also exists for REST: see KCS article 000049933
- Article last edited: 2/24/2015