_Karolina@TT Member since 2015 12 posts
Posted: May 4, 2018
Last activity: December 26, 2019

response_GET pagelist/page issue

Hi, I am in a bit of a pickle with my REST connector requirements.

I have an endpoint, which returns me a list of results based on my request according to the following schema:

[ {
"something": "lalala"
This is no problem, as when run with Integration wizard, it created respone_GET as a pagelist and all the instances of results are appended correctly.
However, when 400 Response is received for Bad request, it should accept the response with the following schema:
"something": "Invalid something"
Now, on a tracer I get an error saying that I get internal error that it is not able to map to response_GET.
I understand that this is because response_GET is of type Pagelist rather than a single page.
On my Connect REST rule, we are mapping to json with map key response_GET.
Is there some sort of workaround to support both responses?
Thank you for your help
Data Integration
Share this page LinkedIn