SAP Knowledge Base Article - Preview

3737441 - API REST fails with permission denied and pkcs8 key format error_SAP CDP

Symptom

  • An error occurs when attempting to delete a customer profile via API using private key credentials with JWS/signed JWT.
  • Unable to make a DELETE request with private key authentication.
  • Error code 403007 with message: "Permission denied: Returned when a user lacks the necessary permissions to perform the requested action, or when the user's credentials are not configured properly."
  • Error: "Gator: Invalid Endpoint format; expecting .; null."
  • Warning from Postman: "runtime~jwt.auth: could not sign the request: 'pkcs8' must be PKCS#8 formatted string."
  • Error: "Invalid namespace '/api/businessunits/{businessUnitId}/views/{viewId}/customers' or method 'get' or you do not have the required permissions to call it."


Read more...

Environment

SAP Customer Data Platform

Product

SAP Customer Data Platform all versions

Keywords

403007 permission denied, pkcs8, pkcs1, jwt, jws, admin credentials, application credentials, delete customer, api delete, invalid endpoint format, invalid namespace, bearer token, postman signing, cdp api, gator error , KBA , CEC-CDP , SAP Customer Data Platform , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.