Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/api/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Outlook 365 Mail Rest API:检索.eml附件时接收内部服务器错误_Api_Rest_Email_Office365_Office365api - Fatal编程技术网

Outlook 365 Mail Rest API:检索.eml附件时接收内部服务器错误

Outlook 365 Mail Rest API:检索.eml附件时接收内部服务器错误,api,rest,email,office365,office365api,Api,Rest,Email,Office365,Office365api,我正在尝试通过Outlook/Office 365邮件API检索附件。我从谷歌发了一封电子邮件到我的Office 365帐户,附件是.eml。当我检索电子邮件时,我得到一个内部服务器错误作为响应。我已经尝试了API的2.0版和beta版。是否可以检索.eml附件 请求: https://outlook.office365.com/api/v2.0/me/messages/{message_id}/附件 答复: { "error": { "code": "ErrorInternalServerEr

我正在尝试通过Outlook/Office 365邮件API检索附件。我从谷歌发了一封电子邮件到我的Office 365帐户,附件是.eml。当我检索电子邮件时,我得到一个内部服务器错误作为响应。我已经尝试了API的2.0版和beta版。是否可以检索.eml附件

请求:
https://outlook.office365.com/api/v2.0/me/messages/{message_id}/附件

答复:

{
"error": {
"code": "ErrorInternalServerError"
"message": "Unable to cast object of type 'Microsoft.Exchange.Services.Core.Types.ItemAttachmentType'
to type'Microsoft.Exchange.Services.Core.Types.FileAttachmentType'."
}-
}

M.Fur-抱歉,调查花了一段时间,但已签入修复程序,应在五月底之前在全球部署

M.Fur-抱歉,调查花了一些时间,但已签入一个修复程序,应在5月底之前在全球部署

对于错误,很抱歉,让我看一下并回复您,了解您收到此错误的原因。感谢@VenkatAyyadevara MSFT,期待您的回复!刚刚发布了一个答案。我们已经在服务中发现了一个bug,并检查了修复程序。感谢您的耐心。对于错误,我深表歉意。让我看一下,然后再回复您为什么会收到此错误。感谢@VenkatAyyadevara MSFT,期待您的回复!刚刚发布了一个答案。我们已经在服务中发现了一个bug,并检查了修复程序。谢谢你的耐心。