Reproduction steps
- Have a guild with a large message history (e.g. >10,000 messages).
- Run a broad search query (such as
before: 2026-10-30). - Scroll to the bottom of the search results to view the pagination controls.
- Click the last page button (e.g. 37357) or click the ellipsis (...) and enter any page number greater than 400 (e.g. 401).
- 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



1 comment
Comment by theinternetuser
packages/schema/src/domains/message/MessageRequestSchemas.ts. It looks fine on three digit page numbers.brave_ZcazDSuAMT.png
432×76 | 3 kB Link to brave_ZcazDSuAMT.png
brave_FtMkmHfX1L.png
430×68 | 4 kB Link to brave_FtMkmHfX1L.png