Invalid Authenticity Token error on mailgun webhooks route

Any post requests to /webhooks/mailgun are returned an HTTP 422, and the server logs show an ActionController::InvalidAuthenticityToken error. This was tested on a new installation with no plugins.

This first started around the middle of May looking at logs from my main forum.

Are you sure that the API key is valid?

Yeah I’ve checked the key and it’s definitely valid.

I don’t really think it has anything to do over whether they key is valid or not (unless an invalid key causes a csrf error for some reason)

https://meta.discourse.org/t/handling-bouncing-e-mails/45343/189?u=znedw

same issue here with the aws webhook, i’m on build 99b0578b4ce

Thanks for the PR @Wolftallemo - I just merged it and added some extra info in the commit message:

6 Likes

This topic was automatically closed after 6 days. New replies are no longer allowed.