+ Start a Discussion
PauloPaulo 

Creating Contract "FAILED_ACTIVATION" error

Hello,
I am trying to create an contract on an account with an API call and am receiving the following status code "FAILED_ACTIVATION". I am setting the Status to "Pending" not "To Activate" so I'm not sure why I getting this error. Any help would be greatly appreciated.
 
Thanks in advance,
Paulo
HardhatHardhat
From the docs:

Client applications must initially create a Contract in a non-Activated state. Client applications can subsequently activate a Contract by calling update and setting the value in its Status field to Activated; however, the Status field is the only field that the client application can set in the update call when activating the Contract.

(http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_contract.htm)
HardhatHardhat
Also, make sure the Status Category of "Pending" is not "Activated" when you look at the Contract's Status field in Setup.