Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

yuhliel's avatar

Laravel Inertia 419 using session driver database

App was running properly on my local for months, then suddenly started returning 419 error messages.

I already tried clearing all the caches, generating new key, incognito mode and nothing works. What have worked for me is changing the session_driver to file instead of database.

I would like to comprehend why this happens. And how to fix it.

Thanks! :)

0 likes
1 reply
yuhliel's avatar

So couldn't figure it out. Created a new laravel project . Moved all the views and controllers.

Anyway thanks.

Please or to participate in this conversation.