首页 > 解决方案 > 错误:invalidRequest - 下载文件内容时提供的参数之一不可接受

问题描述

400当我们尝试使用以下 API 下载某些文件时,我们遇到了API 错误:

 https://graph.microsoft.com/v1.0/users/<user-id>/drive/items/<item-id/content

API 文档:https ://docs.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http

错误:

"error": {
"code": "invalidRequest",
"message": "One of the provided arguments is not acceptable.",
"innerError": {
  "code": "badArgument",
...

相同的 API 调用适用于大多数文件,但我们最近收到此错误。请让我知道背后的原因是什么?我们该如何解决?

标签: microsoft-graph-apionedriveo365-flow

解决方案


推荐阅读