+ Start a Discussion
mani kadimi 7mani kadimi 7 

Is there a list of exception codes and error messages?

Khan AnasKhan Anas (Salesforce Developers) 
Hi Mani,

Greetings to you!

Most of the Apex and DML exceptions you can find them below links:

https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_exception_methods.htm

https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_concepts_core_data_objects.htm#i1421192

Other exceptions (like SOAP and REST), you'll find in the API documents for the particular API linked from the Developer Documentation (https://developer.salesforce.com/docs/).

Also, please refer to the below link which might help you further.

https://www.mstsolutions.com/technical/errors-in-salesforce/

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean.

Thanks and Regards,
Khan Anas