SAP Knowledge Base Article - Public

2574353 - Add User web service not working


You are trying to add a user on LMS using web services, however receives the message: "Currency ID cannot be null."


SuccessFactors Learning Management System - Web Services

Reproducing the Issue

  1. Create the payload similar to this:
    • { "studentID": "userid", "firstName": "John", "lastName": "Smith", "studentPhones": [ { "phoneNumber": "111-123-4567", "phoneDescription": "cell" , "Currency ID" :"" } ] }
  2. Receives error "message": "Currency ID cannot be null."


  1. You should use the below format for the currency ID:
    • { "studentID": "userid", "firstName": "John", "lastName": "Smith", "currencyID": "USD", "studentPhones": [ { "phoneNumber": "111-123-4567", "phoneDescription": "cell" ] }
  2. Note that in the first payload the CurrencyID was inside the studentphone list, not in the correct place. In addition, there was no data defined for currencyID.

See Also

2318897 - LMS Webservices Knowledge Support and Tips

2253249 - Error when running the Add/Update Rest Webservices - LMS


Currency ID cannot be null, Web Service, API , KBA , LOD-SF-LMS , Learning Management System , LOD-SF-LMS-TLS , Web Services & Tools , Problem


SAP SuccessFactors Learning all versions