You need to sign in to do that
Don't have an account?
Venkat Surendra Bezawada
System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Either the plain text body or html body must be supplied
I am getting below error while doing trail head
Step not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Either the plain text body or html body must be supplied.: []
Note: you may run into errors if you've skipped previous steps.
Step not yet complete... here's what's wrong:
There was an unexpected error in your org which is preventing this assessment check from completing: System.EmailException: SendEmail failed. First exception on row 0; first error: REQUIRED_FIELD_MISSING, Either the plain text body or html body must be supplied.: []
Note: you may run into errors if you've skipped previous steps.
There was an unhandled exception. Please reference ID: QELJTOSM. Error: Resque::TermException. Message: SIGTERM
What I found out was that the trailhead code is fine!
https://trailhead.salesforce.com/projects/salesforce_developer_workshop/steps/creating_apex_class
What I did that made it work perfectly was: