I am essentially using a 2 step authentication to run a API call, first step is logging in and storing the cookie as a session id (post request), second is making a get request with that cookie to retrieve all the information. Now when I run this pipeline once it works fine. Problem is when I incorporate pagination, I need to ingest 1300 records and max records per api call is 500, so I will need to run in 3 batches.
I keep getting this error:
java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.util.List
when i set to pagination, is there anyway I can workaround this.
Note: Also I notice in data format for Http Client Processor, I only have option to click Json, but no further control e.g Array of json or multiple json objects, but when I use Http Client Origin, I have the option, is this a limitation within stremasets?