0

I maintain an application that uploads messages into M365, using EWS (via direct http calls and XML, not the managed API). We have a situation with one of our customers where the CreateItem call returns http 200, but there is an error response, with a few relevant messages and codes:

An Internal server error occurred. The operation failed. (code ErrorInternalServerError)
The process failed to get the correct properties.  (code ErrorQuotaExceeded)

The user in question seems to have plenty of storage capacity left in his account. I have uploaded the XML to a different account in a different domain, and had no problems. Below is the exact input XML (except I've shortened the base64 encoding of the mime content). Can anyone tell me what these errors mean?

(I should mention that I have tried removing all the extended properties but it makes no difference. There seems to be some issue with the customer's mailbox causing the problem.)

<SavedItemFolderId>
<t:FolderId Id="AAEuAAAAAAA/ImLtfeRXTI9C2isObYFoAQB91F+mhMh8RYsUvD7TZjMxAAAC4elJAAA="/>
</SavedItemFolderId>
<Items>
<t:Message>
<t:MimeContent CharacterSet="UTF-8">RnJvbTogIkFudGhvbnkgQ2hpZWZmbyIgPHRvbnlAc2dZMmhoY25...</t:MimeContent>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x0E07" PropertyType="Integer"/>
<t:Value>1</t:Value>
</t:ExtendedProperty>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x3004" PropertyType="String"/>
<t:Value>via TM</t:Value>
</t:ExtendedProperty>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x3007" PropertyType="SystemTime"/>
<t:Value>2020-07-31T13:52:41Z</t:Value>
</t:ExtendedProperty>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x0E06" PropertyType="SystemTime"/>
<t:Value>2020-07-31T13:52:41Z</t:Value>
</t:ExtendedProperty>
<t:ExtendedProperty>
<t:ExtendedFieldURI PropertyTag="0x0039" PropertyType="SystemTime"/>
<t:Value>2020-07-31T13:52:41Z</t:Value>
</t:ExtendedProperty>
</t:Message>
</Items>
Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
Jeff McKay
  • 75
  • 5
  • Update: this seems to be caused by the target folder being a public folder, that is maxed out on size (2gb). – Jeff McKay Nov 17 '22 at 00:24

0 Answers0