Skip to content

Issue while Using Foundry Toolkit Extension #541

Description

@cgmdokmak

Does this occur consistently?
Repro steps:

Action: ClassicAgentRootTreeNode.getChildren
Error type: 401
Error Message: 401: Principal does not have access to API/Operation.

Version: 1.6.3
OS: win32
OS Arch: x64
OS Release: 10.0.26200
Product: Visual Studio Code
Product Version: 1.128.0
Language: en
UTC time: Thu, 09 Jul 2026 18:08:48 GMT

Call Stack
F.handleResponse extension.js:8:805111
F.listPagedAgents extension.js:8:817947
extension.js:8:817657extension.js:8:817657
async t.iteratePages extension.js:2:2193674
async F.listAgents extension.js:8:817624
async y extension.js:2:6210231
async o.value extension.js:2:6210949
async m.getChildren extension.js:2:2951537
extension.js:2:2361275extension.js:2:2361275
async t.callWithTelemetryAndErrorHandling extension.js:2:3036534
async m.<anonymous> extension.js:2:2361219
async i._fetchChildrenNodes extensionHostProcess.js:673:107016
async i.getChildren extensionHostProcess.js:673:102474
async GP.$getChildren extensionHostProcess.js:673:96889

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs attentionThe issue needs contributor's attention

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions