1009
WebSocket

1009 Message Too Big

An endpoint is terminating the connection because it received a message that is too large for it to process.

On this page

When You See This Code

The message payload exceeded the server's configured maximum frame or message size limit. Common when uploading large files or sending huge JSON payloads over WebSocket.

How to Fix

Reduce the message size by chunking large payloads into smaller frames. Alternatively, increase the server's max message size configuration if the large payload is expected.

Compare With

Guides

Debugging Scenarios

Glossary

Frequently Asked Questions

What is WebSocket 1009 Message Too Big?

An endpoint is terminating the connection because it received a message that is too large for it to process.

When do you see WebSocket 1009 Message Too Big?

The message payload exceeded the server's configured maximum frame or message size limit. Common when uploading large files or sending huge JSON payloads over WebSocket.

How to fix WebSocket 1009 Message Too Big?

Reduce the message size by chunking large payloads into smaller frames. Alternatively, increase the server's max message size configuration if the large payload is expected.