Menu

payload_too_large

The notification is too large. HTTP 413

What it means

The payload Pushwren builds for Apple would be over 4,096 bytes.

What to do

Shorten the text or move data out of data; send an ID and fetch the rest in the app.

Example

{
  "error": {
    "code": "payload_too_large",
    "message": "The notification is too large",
    "docUrl": "https://docs.pushwren.com/errors/payload_too_large"
  }
}

Every error has this shape. The message says what went wrong in this case; docUrl links here. See all errors.