Closed Nerixyz closed 5 months ago
Internal ref: APIPLAT-4456
This was deemed to be a bug and should be fixed now. Will leave this open until someone can confirm it is fixed.
Thanks! Returns 400 now:
{
"data": [],
"error": "Bad Request",
"message": "The request's input was not valid. Message cannot be replied to.",
"status": 400
}
Looks good! Closing this out
Brief description
Calling
/chat/messages
with an invalid reply-parent-id returns 200 OK:While it's true that the message is dropped, the reason is too generic. I'd like to know that the
reply_parent_message_id
was invalid.How to reproduce
Call the
POST /chat/messages
endpoint withExpected behavior
It should return 400 or include a proper code and message in the
drop_reason
.