Hello,
So I created an API specification with these error responses.
‘400’:
description: Bad request. ID must be an integer
‘401’:
description: Authorization information is missing or invalid
headers: {}
content: {}
‘404’:
description: Not found
‘500’:
description: Interal server error (500)
When I uploaded the spec into snaplogic and changed the pipeline I want it to fetch data from SQL server select with given ID. I want to reroute the error when the ID is not found.
But when I do that I still get on the API call the Server error 500 form the snap itself of snaplogic and not from the reroute or from the specification defined error response
Does someone know why it does not reroute the error to my custom error view or the response code from my api specification