0

I have renamed standard object for accounts and deploying to another sandbox failed with error below.

Expected metadata file with '-meta.xml' extension at path: C:\tech\app\xxx\force-app\main\default\objectTranslations\Account-en_US\Account-en_US.objectTranslation-meta.xml

It would appear that the subfolder is causing the issue. the current workaround is to manually do the renaming and stuff. I have yet to find anyone facing something similar, any better workaround?

0

Found the solution, apparently file 'Account-en_US.objectTranslation-meta.xml' does not exist during pull within sfdx project. Manually created under the folder 'objectTranslations\Account-en_US\' and it is all good.

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.