Skip to main content

Hi Team,

 

While working on This trail:

https://trailhead.salesforce.com/content/learn/modules/lightning-web-components-basics/push-lightning-web-component-files

 

I am trying to build a lightning component on Visual Studio and facing an error when I do SFDX:Deploy to Org

The following is the error

21:19:10.46 Starting SFDX: Deploy Source to OrgINSUFFICIENT_ACCESS: use of the Metadata API requires a user with the ModifyAllData or ModifyMetadata permissions

21:19:20.394 Starting SFDX: Deploy Source to OrgINSUFFICIENT_ACCESS: use of the Metadata API requires a user with the ModifyAllData or ModifyMetadata permissions

 

Please Assist.

9 respuestas
  1. 19 oct 2023, 14:42

    Hi, @Meghna Gupta

    It seems that you are likely authenticated as a non-administrator user.

    Please try running "SFDX:Authorize an Org" from the command palette again.

    This time, make sure to log in as a user with a system administrator profile.

0/9000