---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/91002#article
headline: "91002: Incorrect values for pagination"
url: https://www.twilio.com/docs/api/errors/91002
inLanguage: en
dateModified: 2026-06-08T11:38:30.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 91002: Incorrect values for pagination

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when your Event Streams request includes invalid pagination values. Use `Page` and `PageSize` values that match the requirements for Event Streams list endpoints.

### Possible causes

* `Page` is negative or not an integer. Event Streams list endpoints require the page index to be an integer with a minimum value of `0`.
* `PageSize` is not an integer. Event Streams list endpoints require an integer page size.
* `PageSize` is outside the allowed range. Event Streams list endpoints support values from `1` through `1000`.

### Possible solutions

* Set `Page` to `0` or a larger integer, then retry the request.
* Set `PageSize` to an integer between `1` and `1000`. If you do not need a custom value, use the default page size of `50`.
* When you request the next page of results, use the pagination data returned by the API, such as `next_page_url` or the API-provided `pageToken`, instead of constructing paging values manually.

#### Additional resources

* [Event Streams overview](/docs/events)
* [Sink resource API](/docs/events/event-streams/sink-resource)
* [Subscription resource API](/docs/events/event-streams/subscription)
