Parse-server-mailgun-adapter-template fails for no reason

I get this error when processing system emails from parse, not sure whats causing it but i see the underlying library mailgun-js is not maintained anymore in favour of GitHub - mailgun/mailgun.js: Javascript SDK for Mailgun

Error: Forbidden
at IncomingMessage. (/PROJECT_DIR/node_modules/parse-server-mailgun-adapter-template/node_modules/mailgun-js/lib/request.js:309:15)
at IncomingMessage.emit (node:events:539:35)
at endReadableNT (node:internal/streams/readable:1345:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
statusCode: 401
}

Hi @reptilehaus,

I had a similar issue with the aws ses adapter, then found the parse-server-api-mail-adapter adapter. I made the switch and it’s been great!

I’ve just mentioned the same thing in another, similar post here:

I hope this helps!

1 Like

Yep, I switched myself and it worked perfectly :slight_smile:

1 Like