[ERROR] Could not upsert Attachment: MetaData for Parent

The Org's metadata is stored in your Copado org as an attachment. If your organization has an extensive amount of metadata, and you are getting the error 'Could not upsert Attachment: MetaData for Parent' while refreshing the org’s metadata cache, you will most likely be hitting Salesforce’s file size hard limit.

In the article below you will find information about the maximum size of the attachments in Salesforce:
https://help.salesforce.com/articleView?id=000212444&type=1


There are two possible ways to work this out:

1. In the org credential, filter the metadata types you do not consider necessary to track.

2. Enable the Type Filtered Metadata Grid.

3. Contact Salesforce Support in order to increase the file size limit. If you are contacting Salesforce to have this limit increased, please request the limit to be increased to 36. Since API limits are not affected by this and they cannot be increased, attachments larger than 36MB have to be attached via the UI only, as per the article below:
https://help.salesforce.com/articleView?id=000229960&type=1

How did we do?