Skip to content
Bug Barometer

Retrieving a Custom Object returns an empty object-meta.xml file via both DevOps Center and the CLI command

Not fixed yet. Salesforce has scheduled a fix.

Summary

When retrieving the custom object using the CLI command i.e sf project retrieve start -m CustomObject:<object_name>, it is retrieving the empty "object-meta.xml" instead of all the info about the object.


"object-meta.xml" file looks like:

 <?xml version="1.0" encoding="UTF-8"><CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"></CustomObject>


Note: The same issue occurs when moving the objects to a higher environment using DevOps Center—empty XML files are committed to the GitHub branch created during the process.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled with 1 report

    Nov 30, 2026

Also open in Developer Tools