Get usedrange of Microsoft Graph API doesn't work

走远了吗. 提交于 2019-12-11 06:55:02

问题


I am trying to get values that are stored in Excel cells using the method Get usedrange (see the page below), but it doesn't work.

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/worksheet_usedrange

The following error response is returned.

{
"error": {
    "code": "InvalidArgument",
    "message": "引数が正しくない、不足している、または形式が不適切です。", //The argument is incorrect, missing, or the format is inappropriate.
    "innerError": {
        "request-id": "dcff76b5-9bc6-4a01-b99f-853b9430ef0d",
        "date": "2017-05-01T09:01:15"
    }
}

}

I tried GET (as opposed to POST) with the same request URL on a trial ......it is mysterious that sometimes were time out, but sometimes all cell data was returned without timeout (result, the browser hung up).

I'd be very appreciated it if I could get any advise from anyone who encounters the same phenomenon or knows how to avoid it.

--

Additional Notes:

-Excel Data

-Execution result in Graph Explorer (original method, POST) https://graph.microsoft.com/v1.0/me/drive/items/01PYKTZAO2B65SCU2UDJCKMKFWJEEDRNLQ/workbook/worksheets('Sheet1')/UsedRange()

-Additional Information - Result when use GET in the same URL

来源:https://stackoverflow.com/questions/43749240/get-usedrange-of-microsoft-graph-api-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!