Resolve Retrieve Call Errors

This page contains information about resolving errors during a Retrieve call.

You can eliminate the cause of these errors preventing you from correctly performing calls using the Retrieve method.

When performing a Retrieve call (usually on the Email object), you may see the following exception:

Error in deserializing body of reply message for operation 'Retrieve'

To resolve this exception, increase the maxStringContentLength within the readerQuotas configuration for your customBinding from the default of 8192 to account for the large tag content for the HTMLBody. Integrate the following into your web.config/app.config to resolve this error: