SAP Knowledge Base Article - Public

3156552 - Error "Incorrect user IDs. Please check the IDs you entered" when binding a user to OAuth application - SuccessFactors OData

Symptom

When binding a user to your OAuth application in "Manage OAuth2 Client Applications", you receive the error below:

"Incorrect user ID: <user_ID>. Please check the IDs you entered".

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SAP SuccessFactors HXM Suite
    • OData API

Reproducing the Issue

  1. Go to "Manage OAuth2 Client Applications" and create a new application or edit an existing one
  2. Enable the "Bind to Users" checkbox and provide a user ID



  3. Save
  4. The error is returned



Cause

You have provided a value which is actually not the user ID.

Resolution

Make sure you are providing the user ID value properly, and not some other value like the username.

To confirm what is the user ID value of a user, you can use Integration Center following these steps:

  1. Go to Integration Center and create a new Scheduled Simple File Output Integration
  2. Select User as the starting entity



  3. Select "userId" field and some other field which you can use to identify the user record (username for example)




  4. Filter for the user record that you want to know the userId



  5. You'll be able to confirm what is the userId value

When using this userId value in "Manage OAuth2 Client Applications", no errors should occur.

Keywords

oauth, bind, user, user id, username, user name, error. unable, , KBA , LOD-SF-INT-ODATA-OAU , ODATA OAUTH Authentication , LOD-SF-INT-ODATA , OData API Framework , Problem

Product

SAP SuccessFactors HCM suite all versions

Attachments

bind_users.jpg