Bloomberg Messages Fail to Import into EWS Target with Error 413 (Request Entity Too Large)

book

Article ID: 1000766345

calendar_today

Updated On:

Description

This issue affects Exchange Web Services (EWS) targets during the processing of Bloomberg connector message attachments through the AttachmentCollection.Save() execution.

EWS marks the failure as a non-retryable TargetPermanentException when message bundles exceed the server's accepted request size. Standard configurations typically set the connector limit at 24 MB, requiring resolution through Exchange IIS web configuration adjustments

Cause

The total payload size of the Bloomberg message bundle and its attachments exceeded the maximum request length limits configured on the target Exchange Web Services (EWS) server during the call to AttachmentCollection.Save().

Resolution

Increase EWS Limits (Exchange Server)

  • Adjust MaxAllowedContentLength in the IIS EWS web.config.

  • Increase MaxRequestLength and maxReceivedMessageSize in EWS settings.

Issue/Introduction

During the ingestion process, Bloomberg messages failed to import into Exchange Web Services (EWS). The system logged a Microsoft.Exchange.WebServices.Data.ServiceRequestException indicating a (413) Request Entity Too Large error. The error occurred while attempting to save attachments due to the total payload size exceeding EWS server limits, resulting in a non-retryable TargetPermanentException.