0
訪問共享文件時,我打電話給端點/shares/{shareId}
使用轉換MSGraph-SDK-PHP,但得到的響應400:400使用圖形API共享網址
{
"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#shares/$entity",
"id":"s!here-is-the-share-id",
"[email protected]":"#String",
"name":{
"error": {
"code": "BadRequest",
"message": "A primitive value was specified; however, a value of the non-primitive type '' was expected.",
"innerError": {
"request-id": "3ea56b1c-acd6-4fdf-a856-c46b35e01cb7",
"date": "2017-05-25T05:26:23"
}
}
}
(Yes, I even got 4 left brackets but only 3 right brackets.)
,而我可以通過api.onedrive.com
API與得到正確的響應相同shareId
。 我真的無法從文檔中找到任何提示。
感謝您的快速響應和努力。 – SevenOutman