Skip to end of metadata
Go to start of metadata

Symptom

Non-ASCII characters like German umlauts, which are sent to the REST API of SAP NetWeaver Identity Management 7.2 for updates (POST requests), are not stored properly in the Identity Center (IC) and therefore not displayed correctly on the UI.

Keywords

REST, API, POST, Update, entity, entries, troubleshooting, special character

Description

You are using SAP NetWeaver Identity Management 7.2 and your POST request to the REST API contains non-ASCII characters.

The REST API of SAP NetWeaver Identity Management 7.2 expects the data to be sent with encoding "application/x-www-form-urlencoded".

Example for a POST request with no URL-encoding:
Content-Type: application/x-www-form-urlencoded
Content-Length: 20
MX_FIRSTNAME=Günther

Solution

Apply URL encoding to the data in the REST client before sending it to the REST API of SAP NetWeaver Identity Management 7.2. Use, for example, the JavaScript function "escape", which receives the unencoded string as parameter and returns the URL-encoded string.

Example for a POST request with correct URL-encoding:
Content-Type: application/x-www-form-urlencoded
Content-Length: 25
MX_FIRSTNAME=G%C3%BCnther

Related SAP Note

SAP Note 1663255

Related Document

Identity Management REST API - Interface description

  • No labels

1 Comment

  1. Unknown User (980vj7gh)

    This is not the way it works unfortunately. You may have to add the header x-www-form-urlencoded, but do NOT escape the characters :(. If you do, you get mangled characters...