I just encountered a weird issue - the length of the string you can submit on the dev console is limited:
PUT my_index/_doc/1
{
"text": """..............<max text length = 1996 chars>............."""
}
If the text length is longer than 1996 chars, then the following error occurs:
{
"statusCode": 400,
"error": "Bad Request",
"message": "child \"method\" fails because [\"method\" must be one of [HEAD, GET, POST, PUT, DELETE]]. child \"path\" fails because [\"path\" is not allowed to be empty]",
"validation": {
"source": "query",
"keys": [
"method",
"path"
]
}
}
Expected behavior?
Thanks!
