# Browser Header Field Exceeds Limit

**URL:** <https://community.auth0.com/t/browser-header-field-exceeds-limit/101361>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, auth0-php\
**Created:** [February 27, 2023, 11:33am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361 "2023-02-27T11:33:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![auth0-name-here](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0-name-here/32/12732_2.png) [@auth0-name-here](https://community.auth0.com/u/auth0-name-here)\
**Post date:** [February 27, 2023, 11:33am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361/1 "2023-02-27T11:33:35Z")

</div>

I’m upgrading from an old PHP API (5.3) to the latest (8.4) and using the PHP quickstart to help me.

But I’m getting the following response:

```auto
Bad Request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

```

after making this call:

```auto
header("Location: " . $auth0->login(ROUTE_URL_CALLBACK));

```

It seems that there are a lot of cookies being set:  
 ![Screenshot 2023-02-27 113017](https://global.discourse-cdn.com/auth0/original/3X/0/7/07f12b388c445ed252294e6f213d67de82d0122c.png)

Is this the usual behaviour or have I done something wrong?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 28, 2023, 11:47am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361/3 "2023-02-28T11:47:47Z")

</div>

Hey there!

In order to handle this most effectively can I ask you to raise it as a GitHub issue in our PHP repo so we can work on that directly with the repo maintainers?

> **[GitHub - auth0/auth0-PHP: PHP SDK for Auth0 Authentication and Management APIs.](https://github.com/auth0/auth0-PHP)**
>
> PHP SDK for Auth0 Authentication and Management APIs. - GitHub - auth0/auth0-PHP: PHP SDK for Auth0 Authentication and Management APIs.

Once you have a link to it you can share it here with us so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![auth0-name-here](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/auth0-name-here/32/12732_2.png) [@auth0-name-here](https://community.auth0.com/u/auth0-name-here)\
**Post date:** [March 1, 2023, 11:04am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361/4 "2023-03-01T11:04:21Z")

</div>

Hi Konrad.

Thanks for the quick response, I’ve raised the issue here: [Browser Header Field Exceeds Limit · Issue #706 · auth0/auth0-PHP · GitHub](https://github.com/auth0/auth0-PHP/issues/706).

Thanks

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 2, 2023, 11:29am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361/5 "2023-03-02T11:29:32Z")

</div>

Perfect! Thank you, I’ll ping repo maintainers in a few minutes!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 16, 2023, 11:30am UTC](https://community.auth0.com/t/browser-header-field-exceeds-limit/101361/6 "2023-03-16T11:30:17Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
