I’ve updated my Git repository (project uses old package.xml model) with newest changes. There is a new Custom Object src/objects/MyObj__c.object. When I try to deploy it using Deploy All Metadata and Custom scope I get an error:
objects/MyObj__c.object: ERROR at line 1, column 1 - MyObj__c does not exist or is not a valid override for action Edit.
The same error appears if I try to use Force Save function.
Of course the object does not exist in my sandbox, I want to create it in the first place.
I’m sure that in the past I could deploy new objects with no problem in such a way.
The object is included in package.xml section for CustomObject.