We have a data mart that has been ingesting large responses from an API server call using invoke-restmethod for 4 years without issue. Yesterday, we started seeing errors with error code 400 and message “Response exceeds maximum size (6 MB)”.
I tried using invoke-webrequest instead and get the same error. Postman calls using the same endpoint complete successfully.
I cannot seem to find any documentation on this limitation let alone anything that would help me determine how to increase this limitation.
Any help would be greatly appreciated.