You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue here is that this type of test is not currently possible within the Postmark API. This is because, in order to validate a template sending request, we need to be able to match your API call against your Postmark Server. Normally we would do this with your server token, but with the test api key, there is no way to verify that welcome is a template associated with your server.
This is definitely something we're aware of as needing improvement in our API, but not an issue with this specific library. If you'd like some guidance on how to test, please feel free to contact support and they can give you some suggestions.
Hi,
I implement test. I use
process.env.POSTMARK = "POSTMARK_API_TEST";
in documentation i can read:
Sadly, if it help to init postmark library without any error, it doesn't allow me to call
sendEmailWithTemplate()
method. I got the following error:I used
welcome
as alias. Any well formed alias should be ok as i am using the test API key.The text was updated successfully, but these errors were encountered: