SAP Knowledge Base Article - Preview

2788466 - "No enum constant" error raised in REST Adapter with OAuth2.0

Symptom

Within SAP Process Integration / Process Orchestration, a REST Adapter Receiver Communication Channel was configured with OAuth2.0 Grant Type flow. Some additional parameters were maintained in the table "OAuth 2.0 Additional Parameters"

During message processing, the following error is raised:

java.lang.IllegalArgumentException: No enum constant
com.sap.aii.adapter.rest.ejb.channel.OAuthAttribute.OAuth20ParamType.<Chosen Type>


Read more...

Environment

  • SAP NetWeaver 7.5
  • SAP Process Integration

Product

SAP NetWeaver 7.5

Keywords

OAuth, Rest, 2.0, Token, Header, Query, Claim, Grant, Type, Parameter, Enum, Constant, Process Integration, PI, Process Orchestration, PO, 7.5, PI 7.5, PO 7.5, XI, 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.