cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Tutorials: https://developers.sap.com/tutorials/cp-starter-isuite-api-management.html
--------------------------

When following this tutorial, there is a 500 error when getting the auth token via the OAuth access policy. Testing the token endpoint with Postman, I receive

{ "error": "invalid_request", "error_description": "Missing grant type"

}

It is missing the grant_type=client_credentials payload in thegetoauthtoken step. I added the following to the <ServiceCallout>:

<Payload contentType="application/x-www-form-urlencoded">grant_type=client_credentials</Payload>

This eliminates the above error, but I still get a 500 error : An internal server error occured: The MPL ID for the failed message is : AGSQ1x3o51owaNCdcApVRyFI0reA

Any ideas?

0 Likes
View Entire Topic
Sriprasadsbhat
Active Contributor
0 Likes

Hello Arthur,

Can you goto cloud integration monitoring and see what error you are getting?

The MPL id mentioned in APIM response is from Cloud integration.

Regards,

Sri