Skip to content

MessageFailed

The data of message.failed: a problem details object, exactly as an error response body.

Member Type Description
type (required) string A stable URI for the code: its page in the public error reference, https://build.caitlyn.ai/errors/{code}. 1 to 2048 characters.
title (required) string A short, human-readable summary of the problem, the same for every occurrence of the code. 1 to 4096 characters.
status (required) integer The HTTP status code, repeated from the response.
code (required) string The stable code, for example NOT_FOUND. Once shipped a code keeps its meaning and is never renamed; callers match on it. Pattern ^[A-Z][A-Z0-9_]{0,62}$.
detail string What went wrong in this occurrence, written for the integrator. Never holds stack traces, storage keys or another person's data. 1 to 4096 characters.
requestId (required) string The request's identifier, the same value as the Caitlyn-Request-Id header. Quote it to support. 1 to 128 characters.
errors list of FieldError Field-level problems, one per member or parameter at fault. Present only on 400 VALIDATION_FAILED.

Unknown members a newer server sends are kept in the object's raw.

Used by ResumeConversationStream, SendMessage.