SAP Knowledge Base Article - Preview

3142922 - HTTP REST POST OAUTH2.0 call failed with HTTP 400 : Invalid or missing grant_type

Symptom

When trying to execute a REST call using OAuth 2.0 Client Credential credential, below error is occuring in CPI:

"title": "Invalid grant_type", "detail": "Invalid or missing grant_type.", "status": "400" 
or
{"error":"invalid_request","error_description":"Missing grant type"}

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.


Read more...

Environment

  • SAP Integration Suite
  • Cloud Integration

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

OAuth, OAuth2 Client Credentials, Missing Grant Type, HTTP 400, Cloud Integration, SAP Integration Suite, CPI , KBA , LOD-HCI-PI-CON-HTP , HTTP 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.