Solve the error

{“type”:”error.SuiteScriptError”,”name”:”SSS_AUTHOR_MUST_BE_EMPLOYEE”,”message”:”The author internal id or email must match an employee.”,”id”:””,”stack”:[“Error\n at Object.map (/SuiteScripts/Jobin and Jismi IT Solutions/Order Processing Email Notification/jj_mr_folllowup_and_overdue_notification_otga1476.js:251:67)”],”cause”:{“type”:”internal error”,”code”:”SSS_AUTHOR_MUST_BE_EMPLOYEE”,”details”:”The author internal id or email must match an employee.”,”userEvent”:null,”stackTrace”:[“Error\n at Object.map (/SuiteScripts/Jobin and Jismi IT Solutions/Order Processing Email Notification/jj_mr_folllowup_and_overdue_notification_otga1476.js:251:67)”],”notifyOff”:false},”notifyOff”:false,”userFacing”:true}

This is the error get after executing a map/reduce script, which is deployed in the invoice

In the script, we send an email to the customer id.

In the Author of the email, we provide the email id of the employee and this makes the above error.

To solve this error provide the internal ID of that employee in place of the email id.

Leave a comment

Your email address will not be published. Required fields are marked *