1007
WebSocket

1007 Invalid Payload Data

An endpoint received a message with payload data that is inconsistent with the message type. For example, a text message contained non-UTF-8 data.

이 코드를 보게 되는 경우

A text frame was received but its payload is not valid UTF-8. This commonly happens when binary data is accidentally sent as a text frame.

해결 방법

Ensure text frames contain only valid UTF-8 encoded data. If you need to send raw bytes, use binary frames instead of text frames.

비교 대상

가이드

용어집