<p>There’s not enough detail, nor a specific enough question, to provide a solid answer. But in general, you’ll want to limit the number of parameters submitted, since the length of the URI is limited for GET requests.</p>

CC BY-SA 4.0
2023-11-21T20:29:42.833Z
Thanks for the response, I have attached 2 images to better explain what I have found when it works and when it has errors.

The number of ids and GH_CSRF_TOKEN is the exact number of items returned by the previous query.
Prashant sharma
CC BY-SA 4.0
2023-11-21T08:32:39.913Z
2023-11-21T08:32:39.913Z
Ben Croker
<p>I have sprig components on multiple pages, Some are working fine but some get '414 Request-URI Too Long '</p>
<p>Looking at the networks tab, it sends many elementId={ids}&amp;CRAFT_CSRF_TOKEN={token} after my params and before siteId which is it's usual request pattern</p>
<p>The number of elementId and CSRF_TOKEN is the number of items the sprig component is showing currently.<a href="https://i.sstatic.net/9SW9n.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9SW9n.png" alt="Issue with get request 414 error, sending element ids and CSRF token" /></a></p>
<p><a href="https://i.sstatic.net/IpbI4.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/IpbI4.png" alt="Working fine, has no elementIds or tokens attached to the ger request url" /></a></p>

<multi-site><plugin-sprig>
Sprig request Getting 414 Request-URI Too Long
# Sprig request Getting 414 Request-URI Too Long

(Asked by: username_0 on 2023-11-21)

I have sprig components on multiple pages, Some are working fine but some get '414 Request-URI Too Long '

Looking at the networks tab, it sends many elementId={ids}&CRAFT\_CSRF\_TOKEN={token} after my params and before siteId which is it's usual request pattern

The number of elementId and CSRF\_TOKEN is the number of items the sprig component is showing currently.[![Issue with get request 414 error, sending element ids and CSRF token](https://i.sstatic.net/9SW9n.png)](https://i.sstatic.net/9SW9n.png)

[![Working fine, has no elementIds or tokens attached to the ger request url](https://i.sstatic.net/IpbI4.png)](https://i.sstatic.net/IpbI4.png)

**Tags:** multi-site, plugin-sprig

---

## 1 answers

### Answer by username_1 on 2023-11-21. Score: 1

There’s not enough detail, nor a specific enough question, to provide a solid answer. But in general, you’ll want to limit the number of parameters submitted, since the length of the URI is limited for GET requests.

> **Comments:**
> **username_0**: Thanks for the response, I have attached 2 images to better explain what I have found when it works and when it has errors.  The number of ids and GH_CSRF_TOKEN is the exact number of items returned by the previous query.  

---

