cancel
Showing results for 
Search instead for 
Did you mean: 

Credential Store Api - Post credential returns 401 error (mTLS)

yannicd
Discoverer
553

We are trying to write passwords to the credential store via REST api. We use mTLS for authentication.

Reading the existing credentials from credential store works without any problems. However, when writing a new password, we get a 401 Unauthorized error message:

{

status: 401,

statusText: 'Unauthorized',

headers: {

'sapcp-credstore-error-code': 'invalid_or_missing_credentials',

'sapcp-credstore-error-description': 'Invalid+or+missing+credentials',

}

}

We used the following example:

Credential Management – Example (Node.js)

Does anyone have an idea how to fix this?

Accepted Solutions (0)

Answers (0)