When using the JSON:API Search API in Drupal, an error occurred when adding query parameters such as page[limit].

https://www.drupal.org/project/jsonapi_search_api

Specifically, the following error message was displayed.

Input value “page” contains a non-scalar value.

Upon investigation, this was also mentioned in the following issue.

https://www.drupal.org/project/jsonapi_search_api/issues/3403107

Since it was fixed in the development version 8.x-1.x-dev, I replaced it with the following.

https://www.drupal.org/project/jsonapi_search_api/releases/8.x-1.x-dev

As a result, the error was resolved.

Whether to use the development version of the module requires consideration, but I hope this is helpful for those experiencing the same issue.