Failed to parse message header for protocol Json

Options

Hi,

  We are currently working on a project that is using photon javascript. We are facing a random error and we are unable to find what is causing this error. Also there is not enough information available for it on the web. The Error Code is -12 and the error message is "Failed to parse message header for protocol Json". I am also attaching a screenshot further explaining this error. I'll be really thankful to you if you help me in this matter.

Answers

  • vadim
    Options

    This happens when the message exceeds 50 kbyte limit.

    We will improve the server error message to make it clear that the limit has been exceeded.

  • hassan503
    Options

    Thanks a lot. I figured out that the message limit was exceeding.