Skip to Content
0

"Name ID" attribute is required, Cloud Identity Authentication Service

Feb 23 at 04:40 PM

59

avatar image

Hi Experts,

I am getting below error while using the REST API to create User , even though i followed the help document . Below are screenshots from POSTMAN Rest Client.

Name ID attribute is required.

Still am getting the error.

Please help.

Thanks in Advance,

Aisurya

header1.png (11.6 kB)
body2.png (24.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jens Koster
Feb 26 at 10:20 AM
0

Hi Aisurya,

the URL suffix is /service/scim/Users (as described here: https://help.sap.com/viewer/6d6d63354d1242d185ab4830fc04feb1/Cloud/en-US/cea87780bee94c6994b8005c6d6a4815.html)

Content type needs to be application/scim+json

Try with the following content in the request body (type raw):

{

"schemas": [ "urn:ietf:params:scim:schemas:core:2.0:User"

],

"userName": "johns",

"name": {

"givenName": "John",

"familyName": "Smith" },

"emails": [{

"value": "john.smith@example.com"

}]

}

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Jens,

Yes , i have tried the way suggested. But my requirement is to get the email Activation link in the Response after the user created .

I don't email activation link if i use "/service/scim/Users" .

Thanks and Regards,

Aisurya

0
Deyvid Martinez Mar 06 at 12:35 AM
0

Hello Aisurya, did you solve this issue?

Any additional information?

Share
10 |10000 characters needed characters left characters exceeded
Deyvid Martinez Mar 06 at 01:09 AM
0

Hi Aisurya, this issue is related to Postman, I try with Insomnia app, and works fine:

Hope this helps.

Best regards.


Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hello Deyvid,

Even i tried the way suggested , still am getting the same error. My requirement is to get the email Activation link in the Response after any user created via the API.

Thanks and Regards,

Aisurya

0

Hello Aisurya you need to set the attribute send_email = false

The email activation link will be returned in the 201 response.

More info:

https://help.sap.com/doc/6d6d63354d1242d185ab4830fc04feb1/Cloud/en-US/0aa433c741a24df9ac2b3a5faca202de.html

0