SAP Knowledge Base Article - Preview

3748645 - Cloud Integration HTTP Call with OAuth2 Client Credentials Fails with HTTP 405 Due to Token Retrieval Misconfiguration

Symptom

An integration flow in Cloud Integration invokes an HTTP endpoint using OAuth2 Client Credentials authentication. However, the execution fails with the following error:

com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.IllegalArgumentException: Status code:405; 
Reason:, cause: java.lang.IllegalArgumentException: Status code:405;


Read more...

Environment

SAP Cloud Integration

Product

Cloud Integration all versions

Keywords

Cloud Integration, OAuth2 Client Credentials, HTTP 405 error, token provider, Bearer token, security material, content type, client authentication, SAP CPI, Postman , KBA , LOD-HCI-PI-GB , Generation & Build Framework , 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.