All PubNub accounts support message sizes up to 32KB. For really big payloads we recommend:
-
Sending a URL via PubNub that points to the big payload stored in a database or a storage service such as Amazon S3 or other CDN service.
-
Break the message up into multiple parts and reassemble on the receiving (subscriber) side
- For sending files use our Files feature.
You can also check the message size before you send it instead of sending and then getting a message too large error.