Messages exceeding the 32 KB size limit will not be delivered by PubNub and an error JSON structure (code, message and timestamp) such as [0,"Message Too Large","13524237335750949"] is returned.
It is the application's responsibility to verify that message sizes are kept below the preset size limit. We recommend to keep message sizes well below the set limit to ensure sufficient headroom since messages are URL-encoded prior to delivery.