Symptom
- OAuth token requests from CPI to SAP Commerce return response with 400 code.
- On SAP Commerce Cloud side following can be found via Dynatrace:
|
Exception:
org.springframework.security.oauth2.core.OAuth2AuthenticationException
Message:
OAuth 2.0 Parameter: grant_type
|
- On CPI side following error is shown:
| com.sap.gateway.core.ip.component.odata.exception.OsciException Error in retrieving Authorization header IllegalArgumentException: Status code: 400 { "error_description": "OAuth 2.0 Parameter: grant_type", "error": "unsupported_grant_type" }". |
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud, integration extension pack all versions
Keywords
OAuth, CPI, grant_type, unsupported_grant_type , KBA , CEC-SCC-INT-S4I-AOM , SAP Asynchronous Order Management , 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