Title: BadRequestException with ?page=all parameter
Last modified: November 16, 2022

---

# BadRequestException with ?page=all parameter

 *  Resolved [pixelguy](https://wordpress.org/support/users/pixelguy/)
 * (@pixelguy)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/badrequestexception-with-pageall-parameter/)
 * Hi there,
 * If I open a category with the URL parameter “?page=all” I get an error like this:
 *     ```
       <strong>Error Level:</strong> E_ERROR
       <strong>Message:</strong> Uncaught Algolia\AlgoliaSearch\Exceptions\BadRequestException: Value too small for "page" parameter, expected integer between 0 and 9223372036854775807 in
       ```
   
 * Is there any way to prevent this?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 5 months ago](https://wordpress.org/support/topic/badrequestexception-with-pageall-parameter/#post-16205406)
 * Out of curiosity, is there reason why you’re specifying a page this way? Is this
   a valid parameter for WordPress that I may just not be familiar with? or is it
   something custom added for your install?
 * As is, it looks like the plugin is expecting a numerical value instead of “all”,
   and because it’s receiving that, throwing the error.
 *  Thread Starter [pixelguy](https://wordpress.org/support/users/pixelguy/)
 * (@pixelguy)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/badrequestexception-with-pageall-parameter/#post-16205457)
 * I guess it was a random user who tried his luck by changing the URL 🙂
 * But it would be good if this didn’t lead to an error.
    -  This reply was modified 3 years, 5 months ago by [pixelguy](https://wordpress.org/support/users/pixelguy/).
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [3 years, 5 months ago](https://wordpress.org/support/topic/badrequestexception-with-pageall-parameter/#post-16205655)
 * Understood and noted on all fronts.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘BadRequestException with ?page=all parameter’ is closed to new replies.

 * ![](https://ps.w.org/wp-search-with-algolia/assets/icon-256x256.png?rev=2894668)
 * [WP Search with Algolia](https://wordpress.org/plugins/wp-search-with-algolia/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-search-with-algolia/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-search-with-algolia/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-search-with-algolia/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-search-with-algolia/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/badrequestexception-with-pageall-parameter/#post-16205655)
 * Status: resolved