Hi Team,
While working on This trail:
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
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.