Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
When calling REST Endpoint from VBCS, and there is a empty response, how to handle it in VBCS — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

When calling REST Endpoint from VBCS, and there is a empty response, how to handle it in VBCS

Received Response
33
Views
6
Comments

Summary:

When calling REST Endpoint ( OIC Integration created based on DB Adapter ) from VBCS, and there is a empty response from the DB, the OIC just sends <responsewrapper/> and on obtaining this in VBCS Action Chain, it goes to the failure path with this below exception,

Exception during RestActionError: An error occurred while using 'json' to convert the response (application/json; charset=UTF-8): Unexpected end of JSON input-1An error occurred while using 'json' to convert the response (application/json; charset=UTF-8): Unexpected end of JSON input

How to correct this issue ?

Content (required):

Empty Response :

<executeResponse xmlns:ns0="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!