---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/54454#article
headline: "54454: Sync: Invalid 'PageSize' query parameter"
url: https://www.twilio.com/docs/api/errors/54454
inLanguage: en
dateModified: 2026-06-09T11:00:42.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 54454: Sync: Invalid 'PageSize' query parameter

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when the `PageSize` query parameter in a Sync list request is invalid. `PageSize` must be an integer from `1` to `1000`.

### Possible causes

* The request sends a `PageSize` value smaller than `1`
* The request sends a `PageSize` value larger than `1000`
* The request sends a non-numeric `PageSize` value
* The request sends `PageSize` in an invalid format, such as a decimal or empty value

### Possible solutions

* Update your request so `PageSize` is an integer between `1` and `1000`
* Check the code that builds your query string and confirm it passes `PageSize` as a valid numeric value
* Validate user input before sending the request to prevent out-of-range or malformed values
* If you do not need a custom page size, remove the `PageSize` parameter and use the default pagination behavior

#### Additional resources

* [Twilio Sync documentation](/docs/sync)
* [Sync API reference](/docs/sync/api)
