Level 4
Looks like they have a solution here? http://laravel.io/forum/04-17-2014-tokenmismatchexception-with-dropzonejs
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am using dropzone.js to upload multiple files. So each file have their own ajax request when dragged to the zone. It works when files are uploaded one at a time but when I select multiple, I am getting this weird TokenMismatchException. I am using the form blade syntax so obviously there is always a hidden _token injected. What is a good way to handle this situation ? What is the clean way to regenerate _token in my form without needing to refresh the page ?
Please or to participate in this conversation.