Why am I getting 400 'responseText is required'?
The request body had no responseText. Send the text to score in a field named exactly responseText, as JSON.
Last updated
Fix
{ "responseText": "The text to score." }
- Send
Content-Type: application/json. - On
/api/evaluatethe message isresponseText is required (alias: content)with codeRESPONSE_TEXT_REQUIRED.contentworks there too.
Sending a chat message?
/api/chat takes message, not responseText.