My Oracle Support Banner

Error While Creating IDCS User Through REST API (Doc ID 2649325.1)

Last updated on DECEMBER 13, 2021

Applies to:

Identity Cloud Service (IDCS) - Version N/A and later
Information in this document applies to any platform.

Symptoms

On : NA version, Client API

When attempting to create a user via REST, the request fails with error.

ERROR
-----------------------
{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error","urn:ietf:params:scim:api:oracle:idcs:extension:messages:Error"],"detail":"Invalid / bad hash provided '{PBKDF2-HMAC-SHA512}100000$5q9HyYHOU/ty6SIY/iPVuO7q70oTjTMA3H00ouNFSUOIAq9uGpC+RmQEFrzNVFn19KuvW8B2LT+hho5uiIj3+hlOQuDo5h1HDgRJTlFyA/S4Tvy/1el8Kc8xXmcBI7V+' for attribute : password.","status":"400","urn:ietf:params:scim:api:oracle:idcs:extension:messages:Error":{"messageId":"error.common.validation.invalidHash"}}

Request body:
{"userName":"testAccount2020021689@test.com","name":{"familyName":" ","givenName":" "},"emails":[{"value":"testAccount2020021689@test.com","type":"work","primary":true}],"password":"{PBKDF2-HMAC-SHA512}100000$9PIQlgqxzc76C3wbdMd3BqJaxL/DqOYAIB28IN/2QQqb0hvU0rtD+tKGPh5FHm6ToA3Qc+fFbKpA9Kvkv2VjkyoNtCiTMA/IH5bByYgfabaNNVQ5Ug6Pr8o3rkVp5Bm5","schemas":["urn:ietf:params:scim:schemas:core:2.0:User"]}

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.