Answer the question
In order to leave comments, you need to log in
What could be the reason for the 419 error (page expired) when sending a post request?
We have the usual form, with a token and a POST request. In response, I get 419 | Page expired.
I rummaged through the whole Google, tried everything I could, everywhere, in principle, the same thing. The project is new, I am writing from scratch for the first time, maybe I forgot something in the initial settings? What other data is needed to help debug?
Answer the question
In order to leave comments, you need to log in
419 error says that the CSRF token sent by the form is outdated, missing or incorrect
I think it's worth digging into whether the token is being passed, and also see what you have as a session driver
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question