I have a VSCode SFDX Project that we use to develop LWCs, and we recently changed some object names in the Org and now I can't upload anything to our Org.

I found that there is a command to refresh sobjects, so I ran that, but it only updated the sobjects in .sfdx/tools, but not .sfdx/typings.

How can I get all of the references to update so that I can actually upload into my org? Can you just delete the .sfdx folder and re-authorize an organization.


See the answer provided here. I recently had the same question. I'm connected to a regular non-sourced sandbox org and have not yet seen this command work; however, it may work more reliably for sourced scratch orgs.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.