SAP Knowledge Base Article - Preview

3681094 - After patch update facing error "HTTP Communication Error-Could not retrieve oAuth Token" is occurred.

Symptom

  • After updating the Java patch level, facing the below error:
    "java.lang.RuntimeException: HTTP Communication Error. Could not retrieve oAuth Token" 

  • In the HTTP traces could see the below error,
    REPLY: 
    HTTP/1.1 400 Bad Request OR {"error":"unsupported_grant_type"}

  • The REST receiver channel is injecting duplicate parameters defined in the additional parameters of channel into the token request body for grant_type, client_id, client_secret, and X-Api-Key.


Read more...

Environment

  • SAP NetWeaver 7.5

Product

SAP NetWeaver all versions

Keywords

http communication error, oauth token, unsupported_grant_type, rest receiver channel, java patch level, oauth variables table, oauth configuration, rest adapter, client_credentials, duplicate parameters, token retrieval , 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.