Skip to main content

GuardrailError

messagestringrequired
codestring

Possible values: [duplicate_post, account_daily_cap_reached, account_unauthorized, account_token_missing]

account_idinteger

The account the problem is about.

existing_post_uuidstring<uuid>

duplicate_post only: the earlier post with the same content.

limitinteger

account_daily_cap_reached only: the account's daily cap.

usedinteger

account_daily_cap_reached only: posts already counted on that UTC day.

GuardrailError
{
"message": "string",
"code": "duplicate_post",
"account_id": 0,
"existing_post_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"limit": 0,
"used": 0
}