Long Dang
Long Dang

Reputation: 21

Mailgun.js throws unauthorized 401 MailgunAPIError

I'm trying to implement sending newsletter emails for my blog. I follow this article Guide except I use Sanity instead of Storyblok.

I managed to verify my domain, trigger Sanity webhook to make POST request, add subscribers' emails to Mailing list but somehow encounter 401 error while trying to send newsletter.

What I have tried:

What I think could cause the error: my domain is registered in Vietnam with ending .vn

Upvotes: 1

Views: 412

Answers (0)

Related Questions