79598310

Date: 2025-04-29 12:07:22
Score: 1.5
Natty:
Report link

Better later then never.

Have faced same issue with OData V4.

For solving this problem MessageQuotas must be configured in 2 places:

  1. In ODataBatchHandler for response creation.

  2. In ODataMessageReaderSettings for parsing incoming request, before it comes to BatchHandler for processing. Instance of this settings class must be configured and registered as singleton when configuring OData.

Adding 2d one solve problem in my case.

Related issue: https://github.com/simple-odata-client/Simple.OData.Client/issues/297

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Kot