You need to sign in to do that
Don't have an account?
h.chopra1.394820340094543E12
91% coverage but not able to deploy in production? URGENT
Hello! I have a trigger and a test method to convert lead. The coverage of the test method is 91%. I am deploying both the test method and the trigger. But its is showing me the error:
Failure Message: "System.DmlException: ConvertLead failed. First exception on row 0; first error: INVALID_STATUS, invalid convertedStatus: Non Disclosure Received: []", Failure Stack Trace: "Class.Test_accountsource.testaccountsource: line 18, column 1"
I have even chacked that the converted checkbox under leads is true for NonDisclosure but still this error is not resolved. Please help!
Failure Message: "System.DmlException: ConvertLead failed. First exception on row 0; first error: INVALID_STATUS, invalid convertedStatus: Non Disclosure Received: []", Failure Stack Trace: "Class.Test_accountsource.testaccountsource: line 18, column 1"
I have even chacked that the converted checkbox under leads is true for NonDisclosure but still this error is not resolved. Please help!
SamReady
Check the spelling on the values for convertedStatus. It looks like you might be setting it to something that is not a possible value.