Symptom
You are using REST receiver channel and have configured OAuth 2.0 Client Credentials Grant flow. The channel configuration looks like below:
Client ID and Client Secret is passed in the channel configuration. But REST receiver channel fails with below error:
Fatal error while processing inbound message. com.sap.aii.af.lib.mp.module.ModuleException: com.sap.aii.adapter.rest.ejb.common.exception.HttpCallException: HTTP OAUTH 2.0 CLIENT CREDENTIALS GRANT call to <Authorization URL> not successful. Error while obtaining access token - response code: 400 response:{"error":"invalid_grant","error_description":"The clientId must be supply."}
Read more...
Environment
SAP NetWeaver 7.5
Product
Keywords
Rest receiver, OAuth 2.0, Client Credentials Grant, access token, Bearer, BearerToken, HTTP, Header, Query, Process Orchestration 7.5, PI 7.5, PO 7.5, AEX , KBA , BC-XI-CON-RST , Rest Adapter , 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.
SAP Knowledge Base Article - Preview