Unable to create a directory: The object specified does not belong to a list
还没有人认领这个 Issue。
评估
调研方向
未指定任何仓库文件或测试;该 issue 仅提供了来自 PHP SDK 1.110.0 的 Microsoft Graph 请求跟踪。首先复现 approot lookup 和 children request,然后确定失败发生在 SDK 请求构造中,还是 Graph 服务中。完成的要求是:有 maintainer 确认的原因,以及明确限定范围的解决方案。
由索引模型根据 Issue 内容生成。
描述
What could be wrong here? It worked earlier and stopped to work about 2 weeks ago.
GET /v1.0/me/drive/special/approot HTTP/1.1
Content-Type: application/json
SdkVersion: Graph-php-1.110.0
Authorization: Bearer ********
User-Agent: GuzzleHttp/7
Host: graph.microsoft.com
HTTP/1.1 200 OK
Cache-Control: no-store, no-cache, max-age=0, private
Transfer-Encoding: chunked
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Strict-Transport-Security: max-age=31536000
request-id: 93259803-6c02-4582-88ec-1f45c50ca19a
client-request-id: 93259803-6c02-4582-88ec-1f45c50ca19a
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"002","RoleInstance":"FR3PEPF000008CD"}}
OData-Version: 4.0
Date: Fri, 15 Nov 2024 08:18:24 GMT
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#users('xxxxxx-xxxxxxx%40outlook.de')/drive/special/$entity","createdDateTime":"2024-03-10T07:09:28Z","eTag":"\"{78751E2B-8EB0-20D8-80E8-D50000000000},6\"","id":"E8D88EB078751E2B!213","lastModifiedDateTime":"2024-10-24T00:36:09Z","name":"xxxxx-xxxxxx","webUrl":"https://onedrive.live.com?cid=E8D88EB078751E2B&id=E8D88EB078751E2B!213","cTag":"\"c:{78751E2B-8EB0-20D8-80E8-D50000000000},0\"","size":20029330948,"createdBy":{"user":{"email":"[email protected]","id":"E8D88EB078751E2B","displayName":"xxxxxx xxxxxxxx"}},"lastModifiedBy":{"application":{"id":"ed8f33e5-13aa-47bd-a574-ad0c9ee15a52","displayName":"Graph"},"user":{"email":"[email protected]","id":"E8D88EB078751E2B","displayName":"xxxxxx xxxxxxxx"}},"parentReference":{"driveType":"personal","driveId":"E8D88EB078751E2B","id":"E8D88EB078751E2B!212","name":"Anwendungen","path":"/drive/root:/Anwendungen","siteId":"4c023662-e0a3-4f4c-a1f2-1797fe75a500"},"fileSystemInfo":{"createdDateTime":"2024-03-10T07:09:28Z","lastModifiedDateTime":"2024-10-24T00:36:09Z"},"folder":{"childCount":2,"view":{"sortBy":"name","sortOrder":"ascending","viewType":"thumbnails"}},"shared":{"scope":"users","owner":{"user":{"email":"[email protected]","id":"E8D88EB078751E2B","displayName":"xxxxxx xxxxxxxx"}}},"specialFolder":{"name":"appRoot"}}
GET /v1.0/drives/E8D88EB078751E2B HTTP/1.1
Content-Type: application/json
SdkVersion: Graph-php-1.110.0
Authorization: Bearer ********
User-Agent: GuzzleHttp/7
Host: graph.microsoft.com
HTTP/1.1 200 OK
Cache-Control: no-store, no-cache
Transfer-Encoding: chunked
Content-Type: application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false;charset=utf-8
Strict-Transport-Security: max-age=31536000
request-id: 1ac53ed0-5141-416f-9846-fed03ea94a31
client-request-id: 1ac53ed0-5141-416f-9846-fed03ea94a31
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"005","RoleInstance":"FR3PEPF00000356"}}
OData-Version: 4.0
Date: Fri, 15 Nov 2024 08:18:25 GMT
{"@odata.context":"https://graph.microsoft.com/v1.0/$metadata#drives/$entity","createdDateTime":"2024-10-23T12:04:46Z","description":"","id":"E8D88EB078751E2B","lastModifiedDateTime":"2024-11-05T10:47:04Z","name":"OneDrive","webUrl":"https://my.microsoftpersonalcontent.com/personal/e8d88eb078751e2b/Documents","driveType":"personal","createdBy":{"user":{"displayName":"SharePoint App"}},"lastModifiedBy":{"user":{"displayName":"System Account"}},"owner":{"user":{"email":"[email protected]","displayName":"xxxxxx xxxxxxxx"}},"quota":{"deleted":0,"remaining":1084801364787,"state":"normal","total":1104880336896,"used":20078972109,"storagePlanInformation":{"upgradeAvailable":false}}}
GET /v1.0%2Fme%2Fdrive%2Fspecial%2Fapproot%3A%2Ftest%3A?select=name,size,folder,file HTTP/1.1
Content-Type: application/json
SdkVersion: Graph-php-1.110.0
Authorization: Bearer ********
User-Agent: GuzzleHttp/7
Host: graph.microsoft.com
HTTP/1.1 404 Not Found
Cache-Control: no-store, no-cache, max-age=0, private
Transfer-Encoding: chunked
Content-Type: application/json
Strict-Transport-Security: max-age=31536000
request-id: 4ccef600-082a-43fa-9cc2-c8330296538e
client-request-id: 4ccef600-082a-43fa-9cc2-c8330296538e
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"000","RoleInstance":"FR1PEPF000007A9"}}
Date: Fri, 15 Nov 2024 08:18:25 GMT
{"error":{"code":"itemNotFound","message":"The resource could not be found.","innerError":{"date":"2024-11-15T08:18:26","request-id":"4ccef600-082a-43fa-9cc2-c8330296538e","client-request-id":"4ccef600-082a-43fa-9cc2-c8330296538e"}}}
POST /v1.0%2Fme%2Fdrive%2Fspecial%2Fapproot/children HTTP/1.1
Content-Length: 27
Content-Type: application/json
SdkVersion: Graph-php-1.110.0
Authorization: Bearer ********
User-Agent: GuzzleHttp/7
Host: graph.microsoft.com
{"name":"test","folder":{}}
HTTP/1.1 404 Not Found
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: application/json
Strict-Transport-Security: max-age=31536000
request-id: 8050f7aa-b739-4188-a2e2-67dc38f1a355
client-request-id: 8050f7aa-b739-4188-a2e2-67dc38f1a355
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"Germany West Central","Slice":"E","Ring":"4","ScaleUnit":"001","RoleInstance":"FR2PEPF00000586"}}
Date: Fri, 15 Nov 2024 08:18:26 GMT
{"error":{"code":"itemNotFound","message":"The object specified does not belong to a list.","innerError":{"code":"listNotFound","date":"2024-11-15T08:18:26","request-id":"8050f7aa-b739-4188-a2e2-67dc38f1a355","client-request-id":"8050f7aa-b739-4188-a2e2-67dc38f1a355"}}}
- 主要语言
- PHP
- 星标
- 670
- 派生
- 149
- 平均合并
- 12 小时 6 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-sdk-php 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
microsoftgraph/msgraph-sdk-php#1794 · 2 条评论 ·
-
bug: metadata type:bug
难度 1/5 1 小时以内 新手友好度 88/100
microsoftgraph/msgraph-sdk-php#1739 · 6 条评论 ·
-
status:waiting-for-triage type:bug
难度 1/5 1 小时以内 新手友好度 68/100
microsoftgraph/msgraph-sdk-php#1643 · 8 条评论 · 4 个 reaction ·
-
status:waiting-for-triage
难度 5/5 一周以上 新手友好度 35/100
microsoftgraph/msgraph-sdk-php#1800 · 2 个 reaction ·
-
Now未关闭
难度 5/5 一周以上 新手友好度 1/100
microsoftgraph/msgraph-sdk-php#1799 ·
查看 microsoftgraph/msgraph-sdk-php 的全部 Issue
相似的 Issue
-
📚 Documentation: Placeholder link `link-to-realtime-docs` in Flutter SDK changelog可能已有人在做 @ShyneChikwapulo 今天认领。 未关闭api / realtime product / auth product / messaging product / vcs
难度 1/5 1 小时以内 新手友好度 82/100
appwrite/appwrite#14272 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 1/5 1 小时以内 新手友好度 75/100
Boavizta/boaviztapi#580 · 1 条评论 ·
-
Add Prestashop未关闭request
难度 2/5 1-3 小时 新手友好度 72/100
endoflife-date/endoflife.date#11303 ·
维护者通常 1 天内回复
-
0. to triage enhancement
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复