OfficeDev / ews-managed-api

Other
585 stars 321 forks source link

NullReferenceException in WrapStream when ContentEncoding is null #217

Open OriginalPerson opened 5 years ago

OriginalPerson commented 5 years ago

When server return InternalServerError WrapStream method throws NullReferenceException. It`s throws because ContentEncoding is null. image image image

jschoombee commented 4 years ago

finding the same issue if no content-encoding in http response it is not handled.

ntziolis commented 3 years ago

Same here Exchange 2016. O365 works fine.

dseph commented 2 years ago

I ran into someone with this issue. It was resolved by setting the X-AnchorMailbox header to the destination mailbox.