Edit history

Search pagination crashes with "The provided value is in an invalid format" when navigating past page 400 has not been edited, so there are no earlier versions.

Current version | Original by theinternetuser
Show

Search pagination crashes with "The provided value is in an invalid format" when navigating past page 400

Reproduction steps

  1. Have a guild with a large message history (e.g. >10,000 messages).
  2. Run a broad search query (such as before: 2026-10-30).
  3. Scroll to the bottom of the search results to view the pagination controls.
  4. Click the last page button (e.g. 37357) or click the ellipsis (...) and enter any page number greater than 400 (e.g. 401).
  5. Submit the page jump.

Expected behaviour

Either search pagination should be clamped to page 400 with a notice/tooltip (like Discord's "We can only return up to 400 pages of results. Try making your search more specific!"), or the client should gracefully paginate beyond page 400. brave_n79RBIVfn0.png

Actual behaviour

The search results panel fails to load and displays: "Error" "The provided value is in an invalid format." "[Try again]" brave_z8RY44u3PW.png

Build information

Stable Web 2026.1030.144124, Windows NT 10.0 (x64), Chrome 156.0.0.0, Locale en-US

Platform

Web