When trying to run a payload against this REST endpoint with POSTMAN: v1/Erp.BO.OrderAllocSvc/AutoReserve
I get this error: The page was not displayed because the request entity is too large.
My payload is 5133 lines long with 207573 characters. Is Epicor that error telling me my payload is too big? If so does anyone know the size limit in characters for REST?
I’m not sure what BPMData is but I am using HTTP (I think).
I chunked my payload down into smaller sizes and the smaller payloads worked, so I can only assume I hit a limit somewhere. I since refactored my code that sends the payload to try to reserve order rels to only 30 rels at a time.
My original JSON payload had something like 180 rels it was trying to send. Seemed like Epicor was just overwhelmed by the amount data.
If anyone’s curious, my payload looked something like this. The blue encircled boxes represents one order rel. Original payload had over 180 of those!
It’s interesting that Epicor didn’t process any of them, it just saw the data was too much or perhaps incomplete because it didn’t get the full payload with the closing brackets and braces(?), and just stopped.
If anyone else sees that error, try smaller payloads.