Skip to content

Can not change field type to a formula field

Detection

  • RegExp: Error (.*) Cannot update a field from a Formula to something else

Resolution

You need to manually delete or rename the field in the target org to allow the deployment to pass
- First, try to manually delete field {1} in the target org
- if you can't delete {1}, rename it into {1}_ToDel, then once the deployment done, delete {1}_ToDel