# ESI: Bad Request - Request Too Long

**URL:** <https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243>\
**Category:** General Issues\
**Created:** [November 25, 2024, 5:21pm UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243 "2024-11-25T17:21:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Laubrani](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/laubrani/32/430644_2.png) [@Laubrani](https://forums.eveonline.com/u/Laubrani)\
**Post date:** [November 25, 2024, 5:21pm UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/1 "2024-11-25T17:21:40Z")

</div>

This is the error message reported to players when ESI chokes on account verification, when changing accounts.

Can you fix it already, kthks.

---

<div class="post-metadata">

**Author:** ![Vexxor\_Aivo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vexxor_aivo/32/442061_2.png) [@Vexxor\_Aivo](https://forums.eveonline.com/u/Vexxor_Aivo)\
**Post date:** [November 25, 2024, 7:44pm UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/2 "2024-11-25T19:44:28Z")

</div>

FYI …The only time I have run into this is when requesting too many scopes. To many scopes + particular usernames = request to long

---

<div class="post-metadata">

**Author:** ![Laubrani](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/laubrani/32/430644_2.png) [@Laubrani](https://forums.eveonline.com/u/Laubrani)\
**Post date:** [November 28, 2024, 9:23am UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/3 "2024-11-28T09:23:44Z")

</div>

Yeah, but if you implement things so that the content length exceeds your configured server max content length, then you log in to the server and increase max content length.

---

<div class="post-metadata">

**Author:** ![Vexxor\_Aivo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vexxor_aivo/32/442061_2.png) [@Vexxor\_Aivo](https://forums.eveonline.com/u/Vexxor_Aivo)\
**Post date:** [December 9, 2024, 3:28pm UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/4 "2024-12-09T15:28:03Z")

</div>

Except that a url can only be so long (2048 characters) this cannot be overridden via any config

Use less scopes, the error will go away

---

<div class="post-metadata">

**Author:** ![Vexxor\_Aivo](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/vexxor_aivo/32/442061_2.png) [@Vexxor\_Aivo](https://forums.eveonline.com/u/Vexxor_Aivo)\
**Post date:** [December 14, 2024, 2:42pm UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/6 "2024-12-14T14:42:30Z")

</div>

I am simply explaining why you are getting the error.

You have to request almost all the scopes at once (which you shouldn’t be doing) for it to reach max url length.

So Make two calls with the scopes split up. It’s really simple and gets around this issue.

Fly safe

---

<div class="post-metadata">

**Author:** ![Laubrani](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/laubrani/32/430644_2.png) [@Laubrani](https://forums.eveonline.com/u/Laubrani)\
**Post date:** [December 15, 2024, 1:58am UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/7 "2024-12-15T01:58:14Z")

</div>

> [@Vexxor\_Aivo](#):
>
> I am simply explaining why you are getting the error.

No, you are blaming me for CCPs error (and wrong in about almsot everything you say to argue for it).

---

<div class="post-metadata">

**Author:** ![Laubrani](https://sea1.discourse-cdn.com/eveonline/user_avatar/forums.eveonline.com/laubrani/32/430644_2.png) [@Laubrani](https://forums.eveonline.com/u/Laubrani)\
**Post date:** [December 16, 2024, 12:59am UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/8 "2024-12-16T00:59:11Z")

</div>

I see you convinced CCP that asking you clarifying questions about your false statements were not allowed on their forums, so they deleted the questions - but not the statements.

Since I am not allowed to ask you to clarify your statements, I will apparently have to do it for you.

> [@Vexxor\_Aivo](#):
>
> too many scopes

As I user I can not use too many scopes. The 3rd part program makes the request.

The 3rd party program can not use too many scopes either, it can only pick from the scopes CCP has made.

> [@Vexxor\_Aivo](#):
>
> a url can only be so long (2048 characters) this cannot be overridden

There is no such limit.  
HTTP states a minimum length that should be supported, not a maximum.

From 1999 "The HTTP protocol does not place any a priori limit on the length of  
a URI. Servers MUST be able to handle the URI of any resource they  
serve"1

So assuming you were right about the scopes are transmitted in the URL, CCPs ESI does not even comply with the 25 year old requirements for HTTP/1.1.

Now it is has for a long time been the case that Microsoft browser (last I can find right now, confirmed to still be an issue in 2016) had a limit of 2083 characters, but others browsers been higher (with at least Firefox confirmed above 100k in 2006). Serverside however the 2006 numbers were Apache 4000, Microsoft Server being configurable (without recompiling) at 16,384.

So unless CCP uses Internet Explorer (maybe Edge too), as a server, the limit should be way above 2048, even if the list of scopes is transmitted in the URL.

1\* [RFC 2616 - Hypertext Transfer Protocol -- HTTP/1.1 (RFC2616)](http://www.faqs.org/rfcs/rfc2616.html)

_EDIT_ Numbers from 2006 listed twice, removed one.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/eveonline/original/3X/4/1/41ec4921cbaca7a6f9ea556e7cc20018461eae5e.png) [@system](https://forums.eveonline.com/u/system)\
**Post date:** [March 16, 2025, 12:59am UTC](https://forums.eveonline.com/t/esi-bad-request-request-too-long/469243/9 "2025-03-16T00:59:14Z")

</div>

Closed on March 16, 2025, 12:59am UTC

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