All Collections
Salto for Salesforce
Troubleshooting
Deployment Preview Errors
Creation/Deletion of Standard Field/Object is not allowed
Creation/Deletion of Standard Field/Object is not allowed

These objects/fields are assigned via feature license

Support avatar
Written by Support
Updated over a week ago

Name of the deployment preview error

Creation/Deletion of Standard Field/Object is not allowed

Sample error message

Deletion of standard object ChatTranscript through the API is forbidden.

The standard object ChatTranscript does not exist in your target organization. You cannot create a standard object through the API. You may need additional feature licenses.

When will I see this deployment preview error?

This error occurs when you select a standard field/object for deletion/creation. These metadata types cannot be deleted/created via the API, and are typically present in an org due to its feature licenses.

For example, if you have a deployment from org A to B, and org B doesn't have Service Cloud licenses, you may see the ChatTranscript object as an available object for addition.

If you proceed with this change, the deployment preview error will appear, letting you know that this change is not allowed.

How does this affect my deployment?

The selected field/object will be skipped and will not be deployed.

How can I fix this error?

Avoid selecting items that are driven by feature licenses. In general, only deploy metadata types that are compatible between the 2 orgs.

You can learn more about deployment preview errors here.

Did this answer your question?