当邮件ID包含斜杠时,PowerApps Office365Outlook.GetEmail不起作用

问题描述

我正在使用PowerApps应用程序,该应用程序通过URL从Outlook电子邮件中接收到消息ID,并将其值加载到该应用程序中,除了消息ID包含斜杠之外,其他所有操作都有效。

例如,如果消息ID以这种方式结束,则它起作用:

...9XyAAAL+Zx0NAAA=

但是如果这样结束,那就不会了

...9XyAAAL/maTvAAA=

我收到此错误:

Office365Outlook.GetEmail failed: { "error": { "code": 404,"source": "msmanaged-na.azure-apim.net","clientRequestId": "***","message": "The response is not in a JSON format.","innerError": "The resource you are looking for has been removed,had its name changed,or is temporarily unavailable." } }

我认为这一定是因为URL中显示了/,这是唯一的区别,我想它会尝试将其解析为路径而不是值。

有什么办法可以解决这个问题?也许以某种方式对其进行编码,以便正确地对其进行解释?

修改

我尝试在PowerApps中将EncodeUrl函数用于接收的参数,但也收到此错误:

Office365Outlook.GetEmail failed: { "status": 400,"message": "Resource not found for the segment 'maTvAAA'.\r\nclientRequestId: ***\r\nserviceRequestId: ***","error": { "message": "Resource not found for the segment 'maTvAAA'.","code": "RequestBroker--ParseUri","originalMessage": "Resource not found for the segment 'maTvAAA'." },"source": "office365-eus.azconn-eus-01.p.azurewebsites.net" }

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...