Motivation:
When the user submits invalid input, our creation endpoint rejects creation: however there is no feedback to the user about this because this is only right after they submit the pandadoc.
Therefore, we want to give the user an email about what they filled out wrong, give them the information they filled out in the pandadoc, and ask them to fill out the pandadoc again but with the correct info.
Acceptance Criteria:
- use this email template that gives the user their relevant information they filled on the pandadoc And a message with the error pointing out what they did wrong and asking the user to fill out the pandadoc again but correctly this time.
- An email is automatically triggered when the application creation endpoint fails due to validation errors
- Error messages are sanitized and do not expose internal system details
Motivation:
When the user submits invalid input, our creation endpoint rejects creation: however there is no feedback to the user about this because this is only right after they submit the pandadoc.
Therefore, we want to give the user an email about what they filled out wrong, give them the information they filled out in the pandadoc, and ask them to fill out the pandadoc again but with the correct info.
Acceptance Criteria: