Symptom
The rest adapter receiver communication channel is not able to retrieve OAuth access token.
The bellow error can be found in the channel's logs and in the XPI inspector traces example 50:
Error while processing Authorization request!
[EXCEPTION]
com.sap.aii.af.sdk.xi.oauth.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1]
In the XPI inspector http traces you may find:
HTTP_CLIENT : xxx REPLY:
3cd.....{"access_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}..0..
Read more...
Environment
SAP NetWeaver all versions
Product
Keywords
com.sap.aii.af.sdk.xi.oauth.json.JSONException, A JSONObject text must begin with '{' at 1 [character 2 line 1], Rest Adapter, OAuth, access token, refresh token , 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.