Attached text documents that do not display correctly as message objects in the Microsoft Graphics API

The Microsoft API mistakenly returns file attachments for a Word document as message objects returned from the / me / messages endpoint.

The playback scenario is as follows:

  • Send yourself an email (or ask someone to send you an email) with one or more attachments to your Word document file

  • Run the following query in Graph Explorer: https://graph.microsoft.com/v1.0/me/messages

  • Note that there will be one object that represents the actual letter (this is the correct behavior) and one or more objects that represent file attachments.

Perhaps someone from Microsoft will contact you as soon as possible? This is a major API error, which is likely to cause problems for most applications using it.

PS Previously, this question was raised and fixed, but he raised his head again ... File attachments displayed as message objects in the Microsoft Graph API

Can I also suggest that some automated tests are written around this problem to prevent it from recurring in the future?

+5
source share
1 answer

Thanks for reporting the problem, it should be resolved in the near future.

+1
source

Source: https://habr.com/ru/post/1268638/


All Articles