Profile Creation using /ccstoreui/v1/profiles API Errors out "Missing required property: password" eventhough "enableProfileRegistrationEmailCheck" Property set to True
(Doc ID 2962347.1)
Last updated on JULY 19, 2023
Applies to:
Oracle Commerce Cloud Service - Version 23.05 and laterInformation in this document applies to any platform.
Symptoms
ISSUE STATEMENT
Create profile using /ccstoreui/v1/profiles end point leading with error below.
ERROR
-----------------------
{
"errorCode": "22005",
"message": "Missing required property: password",
"status": "400"
}
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Login to https://xxxxxx-admin.occa.ocs.oraclecloud.com/ccdebug
2) GET /ccadmin/v1/merchant/profilePolicies and verify the result if "enableProfileRegistrationEmailCheck" set to true here, if the value set to true proceed with next step.
3) POST /ccstoreui/v1/profiles
Input -
{
"email":"xxxxx@xxmail.com",
"firstName":"Oracle",
"lastName":"Test",
"receiveEmail":"yes",
"GDPRProfileP13nConsentGranted":false,
"shippingAddresses":[],
}
4)
Result -
{
"errorCode": "22005",
"message": "Missing required property: password",
"status": "400"
}
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 |
Cause |
Solution |