All Collections
Troubleshooting
Salesforce validation errors
Resolving validation errors - "Invalid Cross Reference ID" for Custom applications
Resolving validation errors - "Invalid Cross Reference ID" for Custom applications

Validation error "Invalid Cross Reference ID" was surfaced during a deployment

Quinn Kuiper avatar
Written by Quinn Kuiper
Updated over a week ago

Explanation of the error:

This Salesforce error that Gearset is surfacing is usually encountered when deploying custom applications.

This is because of a dependency to a profile that is missing from your deployment and therefore the custom application cannot be deployed.

Resolution:

To resolve this issue try including profiles in your metadata filter. Then selecting the dependent profile.

Further examples of this Salesforce validation error can be found here:

Disclaimer: This error is returned by Salesforce directly, rather than Gearset. Even so, we offer guidance based on our combined experience with the Metadata API. Where possible, we try to help guide you to fix or avoid this error. In the case that this isn't possible, we may need to direct you to Salesforce support for further clarification.

Did this answer your question?