What is your goal?
Paginate an HTTP call that requires signing the payload.
What is the problem & what have you tried?
I want to integrate with an API that uses payload signing and then paginate the results.
The API requires ‘page’ and ‘pageSize’ be included in the data object in the body of the POST call. It then needs the payload sorted and signed with SHA256 hash
I can use a Make Code module to do the signing and return the hash for the HTTP Request module to use, and the call will succeed. The problem is when the results exceed the pageSize of 50 and the HTTP Request module has to repeat the call.
Error messages or input/output bundles
I get “Error in pagination setup: returned two identical pages in a row”. I think the HTTP Request module is repeating the call, which has page = 1 inside the payload, so it’s getting the same result back.
Is there any way to deal with this besides chunking the request in Make Code and repeating the HTTP call with a “fresh” payload each time?