POST /helix/chat/messages wrong error code for message too large?

Troubleshooting an issue locally, I kept getting:

{
  "error": "Bad Request",
  "status": 400,
  "message": "The request's input was not valid. Please see the endpoint's documentation for possible reasons."
}

After some testing generating lorem ipsum text, this was only happening with messages larger than 500 characters.

According to the documentation, this should be a 422 error.

Am I misunderstanding?

You found a bug. It can be reported on:

Thanks @BarryCarlyon. Submitted.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.