Documentation
Feedback
Guides
Troubleshooting

Troubleshooting
Development
I can’t access the Headless CMS

Permission denied error in faststore cms-sync or vtex cms sync indicates user access issues.

Keywords: Headless CMS | FastStore| CLI

If you encounter the error Error: Permission denied or Error: User indicated by VtexIdclientAutCookie is not authorized to access the indicated resource when using faststore cms-sync or vtex cms sync, this issue is related to the user permissions needed to execute the command and save resources.

Solution

To solve this problem, ask the user who granted your user Admin access to follow the steps below:

Granting user Admin access

  1. Open the VTEX Admin and go to Account Settings > User Roles.

    {"base64":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAADCAIAAAA7ljmRAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAK0lEQVR4nA3HQQEAMAwCsbqoDEzVCErOCdbY8stIAu5udwdom8T22E4C/DxY0xOQQ0z9MgAAAABJRU5ErkJggg==","img":{"src":"https://vtexhelp.vtexassets.com/assets/docs/src/cms-license-manager___57f69d96f44f3d29413f2651df7d98c8.png","width":1281,"height":924,"type":"png"}}

  2. Under Roles, select the role associated with the user requesting CMS permissions. For example, Owner (Admin Super).

  3. In Products and Resources, find and click CMS.

    {"base64":"  ","img":{"width":1820,"height":763,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":1569025,"url":"https://vtexhelp.vtexassets.com/assets/docs/src/cms-license-manager-role___f67a8717b5411664dd29cfa9de1764bc.gif"}}

  4. Make sure both See CMS menu on the top-bar and Settings are checked.

  5. Navigate to the Users section and add the email of the user who needs access to the CMS.

  6. Click Save. Ask the user who requested access to run the faststore cms-sync or vtex cms sync command again. They should now be able to sync their changes.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page