# HTTP header is larger than 10240 bytes | SDK Invalid State Laravel

**URL:** <https://community.auth0.com/t/http-header-is-larger-than-10240-bytes-sdk-invalid-state-laravel/107072>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [May 17, 2023, 12:16am UTC](https://community.auth0.com/t/http-header-is-larger-than-10240-bytes-sdk-invalid-state-laravel/107072 "2023-05-17T00:16:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![LozziStyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lozzistyle/32/45871_2.png) [@LozziStyle](https://community.auth0.com/u/LozziStyle)\
**Post date:** [May 17, 2023, 12:16am UTC](https://community.auth0.com/t/http-header-is-larger-than-10240-bytes-sdk-invalid-state-laravel/107072/1 "2023-05-17T00:16:59Z")

</div>

Hi there,

I’ve experienced two issues on my php laravel website:

1. When deploying the website with vapor, I get the error message “HTTP header is larger than 10240 bytes.”. I have 10-19 cookies in use, even after removing them, logging out and stuff. Idk.

2. I always get the error message “Invalid state” from Auth0\SDK\Exception\StateException. Doesnt matter if in test environment or in deployed.

I think both of them are having issues with /logout, its something with the cookies/sessions not being deleted I guess?

How can I fix that?

---

_[View the full topic](https://community.auth0.com/t/http-header-is-larger-than-10240-bytes-sdk-invalid-state-laravel/107072)._
