Sometimes once making requests with axios the X-XSRF-Token is missing which is obviously leading to the request getting blocked by the CSRF middleware. This happens maybe like 2/10 times. All the forms on the page (except login) uses pure axios calls and i have therefor not implemented any logic for setting the token as according to the laravel docs this should be handle automatically when using axios, and again it works, most of the time. My idea is to manually implement the X-CSRF-TOKEN in bootstrap.js however im unsure if this would conflict with the automatic X-XSRF. There does not seem to be any pattern in it being browser or device specific. Also, i have not experienced it myself but my bugsnag tells me it is a problem and every time the X-XSRF header is missing.