SAP Knowledge Base Article - Public

3206348 - User authorization error when configuring the API connection through the REST service


After setting up the connection of the API user through REST service, the API user is not getting authorized.
The following error is received

{     "status": "UNAUTHORIZED",     "message": "The user XXXXXXX is not allowed to call the API.",     "errors": [         "Invalid User"     ] }


  • SAP successfactors HCM core
  • SAP successfactors Time Tracking

Reproducing the Issue

  1. obtain API key and Private key
  2. create OAuth token for authorization
  3. call  REST API for create Time events with generated Oauth token
  4. upon executing, error is received


Incorrect user


At this point in time, only the technical user is allowed for setting this up.


For further details, you can review the below implementation guide under the Bind to User and UserID points

Creating API Key to Create OAuth Token | SAP Help Portal


API, technical, rest , KBA , LOD-SF-TTR , Time Tracking , Problem


SAP SuccessFactors HXM Suite Core 2205