VS code extension throws error : "The server understood the request but refuses to authorize it"

I am trying to add my tenant to VS code ISC extension using personal access token. The access token scope is admin: manage.

When I try to expand Source, Rules , Workflows or anything in the tenant, it returns below error.

image

Is there any specific permission needed for tenant connectivity from VSCODE?

Hi Rahul KS,

The scope you have given your token is a Cloud Access Management module admin access scope. Try giving it ‘sp:scopes:all’ to be given access to all API endpoints (provided that your identity that is generating the token is an Admin).

As an alternative, you can give your token read access to all the different objects if you do not want full permissions. (eg. idn:sources:read, sp:workflows:read, etc)

Thanks,

Liam

2 Likes

hi rahul check your api credentials u have to give scopes :all

1 Like

Thanks. That helped. I can connect using VSCode ISC extension now .

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.