+ Start a Discussion
Todd B.Todd B. 

Tracking down an Apex Error

Within the past couple of days I have begun receiving error emails from salesforce.  

Subject Line:  Developer script exception from $$$$$$$$$: TaskTrigger : TaskTrigger: System.LimitException: Too many SOQL queries: 101
Body Test:      Apex script unhandled trigger exception by user/organization: 0055000000118E4/00D50000000784t
                       TaskTrigger: System.LimitException: Too many SOQL queries: 101

I get two or three every hour. 

The problem is, I have not made any coding changes in the past month and the email does not give me any indication of what is causing the error.  How do I track down the problem?
Vivek_PatelVivek_Patel
Hi Todd,

To track the error you can use the following approach

0055000000118E4 (User Id) / 00D50000000784t (Organization)

1) Login to the org
2) Find the user who is performing the operation
3) put the debug log and see if track the error their

Else check the code for each Trigger on Task.

And you are getting these email because you would be in the LastModifiedBy field for that Trigger.

Regards,
Vivek Patel.

Please like or mark this as best answer if this answers your question to help others find better answer and improve the quality of developer forum.