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

Handle case in Integration when user not pass query parameter

edited Nov 20, 2022 5:07AM in Integration 19 comments

Summary:

Hi, We have an issue when a user does not pass the query parameter in the REST URL then integration should through this error :

valid rest URL : https://abc.com/ic/api/integration/v1/flows/rest/test/1.0/?parameter=1234

Invalid URL : https://abc.com/ic/api/integration/v1/flows/rest/test/1.0/ ---> In this case integration should through the below error:

Expected Error Response:

{

    "timestamp": "2022-11-18 17:02:00",

    "path": "/v1/flows/rest/test/1.0/",

    "status": 400,

    "error": "Bad Request",

    "requestId": "87666778"

}


Howdy, Stranger!

Log In

To view full details, sign in.

Register

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