CRM service call returned an error:
On moving a solution from Development to Test and running one of the SSIS Packages we got the below error
The specified key attributes are not a defined key for the entity [%1] CRM service call returned an error:
On checking the Entity for customization, and checking for the key, we saw that it was in the Status Pending with no detail of error.
We get this error, if there are records already available that have duplicate values for that alternate key field. However, in this case, there we no record as this entity was being moved first time in the Test.
To fix this try reactivating the key
It threw a new error that “Reactivate entity key is only supported for failed job.”
To fix this Settings à System Jobs à search for the failed system job and delete them
Now we will see the status as Failed
This time it will allow running the reactivation.
Also make sure the config file in connection points to same CRM instance.
It works now
No comments:
Post a Comment