Forum Discussion
Does the API you're calling have additional parameters where you can limit/query only for certain fields? If so, I would try and minimizing the scope of your JSON response in the call itself only to the necessary fields and make sure that your query is only for a single object. Your only real avenue with how you're trying it is to minimize the response and get the size down.
The only other idea I can imagine is to forego using the JSON resource fetch and use the generic webhook to get the info, in my experience the parsing of that response is reasonably the same but I've never had it return payload size issues.
------------------------------
Chayce Duncan
------------------------------
Hi Chanyce.
Thank you for the reply.
I have been trying to limit the payload, but i'll be honest I've no idea how to do that.
You can see from below the size of each 'item'. I don't actually need the four large images which are causing the issue, but i've no idea how i can call the payload just for the other items.
Here is how i've set all the fields in the JSON handler 'fetch' request.
Have you got any ideas please?
Many thanks,
Michael
------------------------------
Michael White
------------------------------
- ChayceDuncan2 years agoQrew Captain
Can you tell me what system you're trying to integrate with so I can take a look at the documentation and see if there is a way to limit the scope?
------------------------------
Chayce Duncan
------------------------------- MichaelWhite12 years agoQrew Member
Hi Chayce.
The third party is Digidentity. The documentation can be found here: https://docs.digidentity.com/#aae3b6c2-c2b0-4250-9335-9a402eaf3dbd
It's under 'Onboarding', 'One-time verification', 'Retrieve report'.
Thank you,
Michael
------------------------------
Michael White
------------------------------- ChayceDuncan2 years agoQrew Captain
From reading through the docs on that call and looking at others, the only thing that might work is to alter the scope when you're getting the credentials. I can't find anything specific to that report request you're doing, but thats the only place where it would be possible to alter the response potentially but also changing it might interfere with the ability in general just to get the report you're querying.
'
The only other thought might be to try to use the Webhook Channel / Make Request step. The general setup will be identical to what you're currently doing with the JSON request, but it might not come with the same response payload max size.
------------------------------
Chayce Duncan
------------------------------