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?