title: Laravel DecryptException - The payload is invalid
body: <p>I am sending an AJAX post request back to my Laravel API and receiving this error messsage:</p>
  
  <p><strong>DecryptException in compiled.php line 13235:
  The payload is invalid.</strong></p>
  
  <p>I am reading the XSRF-TOKEN from the cookie and sending that along as a request header named X-XSRF-TOKEN.</p>
  
  <p>The site is a completely seperate site from the Laravel API but shares the same session, which is why I am getting the value from a cookie.</p>
  
  <p>The strange thing is, occasionally it works. Any ideas what is causing this?</p>