+ Start a Discussion
Srikanth Challa 3Srikanth Challa 3 

Error: field integrity exception: unknown with API version 38.0

If the package.xml is upgraded to API 38.0 then we are receiving the following errors while deploying to a Salesforce Org with Winter 17 i.e API 38.0
1. objects/Contract.object (Contract.Status) -- Error: field integrity exception: unknown (invalid value) (line 979, column 13)
2. objects/DuplicateRecordSet.object -- Error: invalid cross reference id

Thanks,
Srikanth.
Surendra Reddy 72Surendra Reddy 72
HI Srikanth,

I am also getting the similar error like "objects/Contract.object (Contract.Status) -- Error: field integrity exception: unknown (invalid value) (line 979, column 13)". Could you please let me know whether your issue was resolved?
Ivan VrtacnikIvan Vrtacnik
Not sure what the cause is but the workaround is to manually edit the Contract object (via text editor) and remove the Status field. Since a destructive package is needed to actually remove fields from orgs, this allows you to proceed with deployment.