function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Hitesh chaudhariHitesh chaudhari 

visual studio code not showing exact error message

I am newly using Visual studio code.
Recently I had installed visual studio code with salesforce extension pack.
but when I am trying to deploy any code from VS i am getting same error every time "Deployment failed [1,1].
Idelly it should show BillingCity6 is not a valid field on line 9 but it is showing deployment failed.
VS code error message
 
Ajay K DubediAjay K Dubedi
Hi ImNick,

I hope you are doing well but make sure you have authorized your org with VS code.

For more information refer: https://www.youtube.com/watch?v=7qR0c8h5cCU

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks,
Ajay Dubedi
Hitesh chaudhariHitesh chaudhari
followed extact step but still not getting error messge
 
Fahad Munawar 5Fahad Munawar 5
Hi ImNick,

Its been late to answer but its never too late. For such kind of erros while deployment from VSCode, you need to visit your Salesforce org to see the errors. Please go to Setup > Deployment Status and check the latest deployment to see the deployment erros related to your recent deployment.

Hope this helps.

Have a good day.