Aloglia index Issue

I am getting below error when Indexing Algolia products and categories.

[2022-01-13 09:44:07] main.CRITICAL: array must contain at least two elements (in [10]) {“exception”:"[object] (Algolia\AlgoliaSearch\Exceptions\BadRequestException(code: 400): array must contain at least two elements (in [10]) at /var/www/html/test/vendor/algolia/algoliasearch-client-php/src/RetryStrategy/ApiWrapper.php:219)"}

algoliasearch-magento-2 version => “3.1.0”
algoliasearch-client-php version => “^2.4”

Please help me how i can resolve this issue.