Again, based on the codepen here, I have a nice result - all my hits and facets are there - but the pagination widget is broken and I get this
This only happens when using a JWT instead of my regular Search-Only API Key.
The JWT is long but not excessive: 725 chars. It encapsulates nine facet filters, and the API key that it is based upon restricts usage by ACL (search), HTTP REFERER, and Index.
Here’s the full error:
Uncaught (in promise) RangeError: Invalid array length at Ie (range.ts:18) at t.value (Paginator.js:31) at Object.render (connectPagination.js:147) at index.ts:481 at Array.forEach (<anonymous>) at Object.render (index.ts:472) at InstantSearch.ts:510 at defer.ts:26