User enabled Address Validation in the C4C system and configuration was performed in reference to the Help Center Documentation
But While entering the address into an Account, system throws this error message:
Error Code 401 during http call: Missing Credentials
SAP Cloud for Customer
Reproducing the Issue
- Go to Customers work center
- Select Accounts view
- Create a new Account
- Maintain a Address
Basic authentication which might be used for your user testing is not supported for the C4C usage of the service. Once the communication arrangement is setup in C4C then you will need to export the client certificate and import into your SCP account. Information about doing this can be found at Client Certificate Authentication
- Verify that the certificate version of the endpoint is being used. The URL being used would contain “.cert.” in it. [eg: <system>.<Suser>trial.cert.hanatrial.ondemand.com
- Verify the issuer of the certificate is in the list of trusted certifying authorities provided at https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/fe957070f9f7447cb886eb65e6a0543e.html
Ensure that the URL you are using in the communication arrangement has '.cert' in it.
As present, DQM microservices supports only client certificate is supported when communicating with the DQM Service for Address Validation. Even though a communication arrangement supports storing the credentials for Basic authentication, it is not supported for address validation within C4C.
In order to use the "cert" endpoint, you will need to import the client certificate specified in the communication settings into the consumer account (Susertrial).
- Information on how to do this can be found in the Data Quality Management microservices help documentation
- Information on
Points to remember:
- Self-signed certificates are not supported.
- An alias name needs to be assigned to the certificate when imported into the keystore and the alias needs to be assigned to the DQMMICRO_POWERUSER role.
- The keystore must be named dqmm.jks
dqm, microservices, 401, missing credentials, authorization , KBA , LOD-LE-RC-ADR , Address , EIM-DQM-SVS , Microservices , Problem