function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rupesh BhatiaRupesh Bhatia 

Batch Job Failure due to unhandled exception

Hi Al,

 

Am receiving an unknown exception with out any log being generated for this batch

 

Sandbox

 

Apex script unhandled exception by user/organization: userid/orgid Source organization: 00DU0000000Je6R (null) Failed to process batch for class 'TASAssessmentMigrBatch' for job id '707K0000001AvOJ'

 

caused by: System.AssertException: Assertion Failed: Expected: 200, Actual: 409

 

Class.ConnectToDealmakerAPI.Connect: line 45, column 1

Class.TASAssessmentMigrBatch.execute: line 141, column 1

 

Can any one advise, what could be the possible reason for this kind of eror mail

 

Thanks,

Rupesh Bhatia

Venkat_rdVenkat_rd

Hi,

Please try by setting the batch size as 200. If you are still getting error. Please post the code here to check.

 

Thanks,

Venkat