libscie / ResearchEquals.com

Research module server
https://researchequals.com
MIT License
87 stars 10 forks source link

🐛 `collection-submission-mailer` error #1017

Closed chartgerink closed 1 year ago

chartgerink commented 1 year ago

URL of the Page

No response

What happened?

Seems like the collection submission mailer crashed the site for a few seconds. Got a 503 after submitting a DOI.

Steps to reproduce

No response

What browser(s) did you use?

No response

Anything else?

This is the error from runtime logs

Received job to api/collection-submission-mailer 39

/var/www/app/node_modules/postmark/dist/client/errors/Errors.js:124

return new ApiInputError(message, code, statusCode);

ApiInputError: The Template's 'Alias' associated with this request is not valid or was not found.
chartgerink commented 1 year ago

This is fixed now - the template had not been ported over regrettably from the test environment into the production environment, which meant it did not work...

Adding it to the playbook!

nsunami commented 1 year ago

Ah, the Postmark template! Makes sense!