microsoft-graph-api - 错误: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 调用适用于大多数文件,但我们最近收到此错误。请让我知道背后的原因是什么?我们该如何解决?
解决方案
推荐阅读
- java - 超时服务器端长时间运行的请求
- json - 是否有可能在 gin-gonic 绑定的 json 中消失一个范围?
- reactjs - Antd表单远程提交
- java - 未触发地图位置更改侦听器
- javascript - 使用 .includes()
- node.js - 刷新 SAML SSO 会话
- google-cloud-platform - Compute Engine 实例上的 Gitlab 不可用
- bitbucket - 有没有办法限制用户在bitbucket中创建的分支数量?
- android - 为什么我的 LayoutParams 不会改变我的布局?
- python - 在 Twisted 中执行具有时间增量的函数的最佳方法?