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

k3hl's avatar
Level 1

TokenMismatchException client side causes?

I just launched my first laravel web application this year so I'm still learning.

One of my clients currently has 20+ users utilizing my app. Each user has their own account. One user seems to get a TokenMismatchException ( I see it in the logs.) every time he tries to submit a form. It works fine for everyone else and I cannot duplicate it on my system.

I'm using Laravel 5.1.

What are some potential causes of this on the client side?

0 likes
2 replies
k3hl's avatar
Level 1

I'm not using Ajax. It's just a form opened using the Form facade ("illuminate/html")

 {!! Form::open(['route'=> ['audits.store', 'param1' => $param1, 'param2' => $param2 ], 'class' => 'horizontal-form', 'id' => 'formName']) !!}

Please or to participate in this conversation.