OneDrive for Business API item/file download content 401

前端 未结 1 416
北荒
北荒 2020-12-21 19:24

My question seems similar to OneDrive for Business REST API - PUT,POST - 401 Unauthorized

However, instead of uploading, I am trying to download a file. What\'s str

相关标签:
1条回答
  • 2020-12-21 20:14

    There is a bug in our implementation - if you provide an Authorization: header with a bearer token on the download URL (which is pre-authenticate) the service rejects the authentication (hence the 401) but since the URL is pre-authenticated, the contents of the file are still sent.

    We're working on a fix. You can track the status by watching this issue on our GitHub repo: https://github.com/OneDrive/onedrive-api-docs/issues/189

    0 讨论(0)
提交回复
热议问题