algolia / algoliasearch-client-swift

⚑️ A fully-featured and blazing-fast Swift API client to interact with Algolia.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid Cursor error returned for a specific Cursor values

VladislavFitz opened this issue Β· comments

Describe the bug πŸ›

While browsing object using Index.browse(cursor: Cursor?, requestOptions: RequestOptions?) may return Invalid Cursor error for a specific cursor value.

To Reproduce πŸ”
Steps to reproduce the behavior:

  1. Launch Index.browse with the cursor value containing plus sign (e.g. AgA+Bgg4MTUyNTQ0Mg==)
  2. Request fails returning 400: invalid cursor error

Expected behavior πŸ’­

Iterative calls of Index.browse(cursor: Cursor?, requestOptions: RequestOptions?) method don't fail until the browse of an index completed.