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

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.

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

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.