While validating my changes to the sandbox with Force.com Migration Tool, I suddenly got the below error.

Component Failures: 1. objects/PersonAccount.object -- Error: An unknown exception has occurred.

The problem is, I have no clue about why is this happening.

To debug, I revert all of my changes back to a previous successful deployment version and tried to deploy again, but still I get the same error.

Could someone please help me with this as I have no clue why is this happening suddenly?

Is there a way to debug this?

  • 2
    Are you deploying multiple object with field history tracking yes ? – MIX DML Jan 11 '16 at 2:53
  • @PrabhatKumar Yes I do, what's with history tracking here? – Hasantha Jan 11 '16 at 3:42
  • 1
    Objects have feature that you can track history of their fields....I would suggest you to deploy objects separately. Check if it works. :) – MIX DML Jan 11 '16 at 3:47

After comparing the sandbox instance with production code base we found this issue is due to spring16(beta) release, there is something to do with the history tracking. We had history tracking enabled for the Account object though we haven't had it enabled for PersonAccount (this is not required in version 35)

As a solution I added <enableHistory>true</enableHistory> line to personAccount metadata file and it works!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.