Refusals
Every "no", "not yet" and "yes, later" from Atomside has the same shape, over REST and MCP alike. Codes never change meaning; a new code is added only when the next step is different.
Read answer first: anything but no means a letter exists and is on its way or waiting. Then retry: whether trying again can help, and when. Repeat say to your person word for word; never parse it. money.say says whether anything was charged, held or returned. person.link, when there is one, is the console page where a person can act. docs links to the code below.
Software that sends letters for its own customers meets the customer_… codes, sender_required, test_customer_fixed, test_customer_in_live, approval_links_off, approval_not_waiting, approval_not_for_customer and month_not_valid. Sending for your customers walks through when each one comes.
Posting on a later day (post_on) adds one code, post_on_not_available, for every day that will not do: details.why says which (weekend, bank_holiday, day_away, too_far, day_full, in_the_past, after_cutoff, differs_from_quote), and details.day_before and details.day_after are the nearest days that work. Its agent_can fixes carry changes_day: true: a different day, so ask your person first. A good send for a later day is prints_later with details.why: "asked".
The shape
{
"type": "object",
"properties": {
"answer": {
"type": "string",
"enum": [
"no",
"not_yet",
"yes_later"
]
},
"code": {
"type": "string",
"enum": [
"file_not_usable",
"too_many_sheets",
"address_not_found",
"quote_expired",
"quote_already_used",
"idempotency_key_reused",
"quote_not_found",
"file_not_found",
"test_postcode_in_live",
"on_behalf_of_required",
"origin_required",
"mode_mismatch",
"letter_not_found",
"approval_declined",
"print_failed",
"invalid_request",
"not_found",
"too_many_recipients",
"field_not_filled",
"post_on_not_available",
"needs_approval",
"possible_duplicate",
"paused_same_text",
"paused_failed_letters",
"waiting_for_credit",
"over_daily_limit",
"over_monthly_limit",
"over_per_letter_limit",
"over_recipient_limit",
"outside_agent_rules",
"customer_over_limit",
"customer_paused",
"customer_ref_not_allowed",
"customer_sender_unverified",
"customer_suspended",
"customer_closed",
"customer_not_found",
"customer_exists",
"customer_ref_not_valid",
"customer_relationship_not_allowed",
"customer_limit_reached",
"customer_sender_code_wrong",
"customer_sender_code_expired",
"customer_sender_not_waiting",
"customer_sender_code_limit",
"sender_required",
"test_customer_fixed",
"test_customer_in_live",
"approval_links_off",
"approval_not_waiting",
"approval_link_gone",
"approval_not_for_customer",
"month_not_valid",
"unclaimed_limit_reached",
"approval_expired",
"agent_paused",
"account_suspended",
"sending_stopped",
"not_ready_for_live",
"key_cannot_send",
"scope_missing",
"address_on_do_not_write",
"key_not_valid",
"key_missing",
"connection_ended",
"returned_to_sender",
"prints_later",
"held_for_check",
"print_queue_full",
"rate_limited",
"request_in_progress",
"unclaimed_hourly_limit",
"new_account_daily_limit",
"try_again_shortly",
"address_not_uk",
"service_not_offered",
"declined_by_atomside",
"too_late_to_cancel",
"already_cancelled",
"account_expired",
"account_already_claimed",
"test_mode_only"
]
},
"fixed_by": {
"type": "string",
"enum": [
"agent",
"person",
"wait",
"nobody"
]
},
"say": {
"type": "string",
"description": "One sentence for the person. Repeat it; never parse it."
},
"money": {
"type": "object",
"properties": {
"charged": {
"type": "object",
"properties": {
"credits": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Whole credits. 1 credit is 10p."
},
"gbp": {
"type": "string",
"pattern": "^-?\\d+\\.\\d{2}$",
"description": "The same amount in pounds, ex VAT, as a decimal string."
}
},
"required": [
"credits",
"gbp"
],
"additionalProperties": false,
"description": "An amount in credits, with pounds beside it."
},
"held": {
"type": "object",
"properties": {
"credits": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Whole credits. 1 credit is 10p."
},
"gbp": {
"type": "string",
"pattern": "^-?\\d+\\.\\d{2}$",
"description": "The same amount in pounds, ex VAT, as a decimal string."
}
},
"required": [
"credits",
"gbp"
],
"additionalProperties": false,
"description": "An amount in credits, with pounds beside it."
},
"returned": {
"type": "object",
"properties": {
"credits": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Whole credits. 1 credit is 10p."
},
"gbp": {
"type": "string",
"pattern": "^-?\\d+\\.\\d{2}$",
"description": "The same amount in pounds, ex VAT, as a decimal string."
}
},
"required": [
"credits",
"gbp"
],
"additionalProperties": false,
"description": "An amount in credits, with pounds beside it."
},
"say": {
"type": "string"
}
},
"required": [
"charged",
"held",
"returned",
"say"
],
"additionalProperties": false
},
"retry": {
"type": "string",
"enum": [
"never",
"after_fix",
"after_person",
"at_time",
"not_needed"
]
},
"retry_after": {
"anyOf": [
{
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
},
{
"type": "null"
}
]
},
"agent_can": {
"type": "array",
"items": {
"type": "object",
"properties": {
"do": {
"type": "string"
},
"tool": {
"type": "string"
},
"with": {
"anyOf": [
{
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
{
"type": "null"
}
]
},
"changes_wording": {
"type": "boolean"
},
"changes_day": {
"type": "boolean"
}
},
"required": [
"do",
"tool",
"with",
"changes_wording",
"changes_day"
],
"additionalProperties": false
}
},
"person": {
"anyOf": [
{
"type": "object",
"properties": {
"ask": {
"type": "string"
},
"who": {
"type": "string"
},
"link": {
"type": [
"string",
"null"
]
},
"if_nothing": {
"type": "string"
}
},
"required": [
"ask",
"who",
"link",
"if_nothing"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"quote": {
"type": [
"string",
"null"
]
},
"letter": {
"type": [
"string",
"null"
]
},
"details": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"docs": {
"type": "string",
"format": "uri"
},
"request_id": {
"type": "string"
}
},
"required": [
"answer",
"code",
"fixed_by",
"say",
"money",
"retry",
"retry_after",
"agent_can",
"person",
"quote",
"letter",
"details",
"docs",
"request_id"
],
"additionalProperties": false,
"description": "A refusal: what happened, whether money moved, and what to do next."
}
Your agent can fix it
file_not_usable
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | details.problem says which page and what is wrong. |
| Given by | upload_file, quote_letter, check_letter |
too_many_sheets
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | If it is printed on one side, quote again on both sides. Otherwise ask your person before cutting pages. |
| Given by | quote_letter |
address_not_found
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Use one of details.matches only if it is clearly the same place. |
| Given by | quote_letter, create_customer, request_customer_sender |
quote_expired
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Quote again and send that. The same idempotency key is fine. |
| Given by | send_letter |
quote_already_used
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | That is your letter. Read it with get_letter. |
| Given by | send_letter |
idempotency_key_reused
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 409 |
| What to do next | Check first: the earlier call may be the one you meant. Otherwise use a new key. |
| Given by | send_letter, start_account, create_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
quote_not_found
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 404 |
| What to do next | Check the id, or quote again with quote_letter. |
| Given by | send_letter |
file_not_found
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 404 |
| What to do next | Upload the file again with upload_file, or call check_letter again. |
| Given by | quote_letter, check_letter |
test_postcode_in_live
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Use the real address. Rehearse outcomes with a test key. |
| Given by | check_address, quote_letter, check_letter |
on_behalf_of_required
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Quote again with on_behalf_of.ref set to your own id for the customer. |
| Given by | quote_letter, send_letter |
origin_required
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Quote again with origin: the run, the software and who asked. |
| Given by | quote_letter, send_letter |
mode_mismatch
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Quote again with the right key. A test quote never prints. |
| Given by | send_letter |
letter_not_found
approval_declined
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Change only what the reason asks. If no reason was given, ask your person. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
print_failed
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Read the reason with get_letter, then quote again. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
invalid_request
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 400 |
| What to do next | Fix the field named in details.field. The same idempotency key is fine. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, start_account, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
not_found
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 404 |
| What to do next | Check the name against the tool list or /v1/openapi.json. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, create_approval_link |
too_many_recipients
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 400 |
| What to do next | Split it into sends of details.limit or fewer, each with its own idempotency key. If the agent setting is the limit, ask your person to raise it. |
| Given by | quote_letter, check_letter |
field_not_filled
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 400 |
| What to do next | Add the value, or take the field out of the letter, then quote again. Nothing is charged. |
| Given by | quote_letter, check_letter |
post_on_not_available
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Ask your person before you pick another day: details.day_before and details.day_after are the nearest days that work (changes_day). Leave post_on out to go at the next cut-off. For differs_from_quote, quote again with the new day. |
| Given by | quote_letter, send_letter |
customer_not_found
customer_exists
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 409 |
| What to do next | Use update_customer, or a new ref. A closed customer keeps its ref. |
| Given by | create_customer |
customer_ref_not_valid
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Use your own id for the customer, not an email, name or postcode. |
| Given by | quote_letter, send_letter, create_customer |
customer_sender_not_waiting
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Read the sender state with get_customer. Ask for a sender with request_customer_sender first. |
| Given by | confirm_customer_sender, resend_customer_sender_code |
sender_required
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Add sender (name, line1, town, postcode), or make the customer platform_name. |
| Given by | create_customer |
test_customer_fixed
test_customer_in_live
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Use a test key, or a ref that does not start cust_test_. |
| Given by | quote_letter, send_letter, create_customer |
approval_link_gone
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 410 |
| What to do next | Read the letter with get_letter. If it still waits, make a new link with a new Idempotency-Key. |
| Given by | create_approval_link |
approval_not_for_customer
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 422 |
| What to do next | Pass on the approval link from send_letter instead. |
| Given by | create_approval_link |
month_not_valid
| |
|---|
| Answer | no |
| Fixed by | agent |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Give month as YYYY-MM, this UK month or one before it. |
| Given by | get_customer_usage |
A person needs to act
needs_approval
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not resend. Show details.show_to_person, then call wait_for_approval. |
| A person is asked to | Approve or decline this letter (a person who can approve). If nothing happens: Nothing is sent. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
possible_duplicate
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not send it again. Pass on the link: a person decides, even on autopilot. |
| A person is asked to | Discard it or send it anyway (a person who can approve). If nothing happens: The quote lapses and nothing is sent. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
paused_same_text
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not resend or reword it. Pass on the link. Nothing more goes until a person resumes you. |
| A person is asked to | Look at what it sent, then resume it or cancel the letters (an owner or a developer). If nothing happens: Nothing more is sent, and this letter lapses. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
paused_failed_letters
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not resend. Pass on the link. Read why the letters failed with get_letter. |
| A person is asked to | Look at the failed letters, then resume it (an owner or a developer). If nothing happens: Nothing more is sent, and this letter lapses. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
waiting_for_credit
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Pass on the link. It goes by itself if credits arrive before the quote runs out. details.auto_top_up says whether a pack is being bought; sending again buys nothing. |
| A person is asked to | Buy credits (an owner). If nothing happens: The quote lapses and nothing is sent. |
| Given by | send_letter |
over_daily_limit
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 403 |
| What to do next | Pass on the link, or try again after retry_after. Autopilot only. |
| A person is asked to | Raise the daily limit (an owner or a developer). If nothing happens: It can be sent after midnight. |
| Given by | send_letter |
over_monthly_limit
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 403 |
| What to do next | Pass on the link, or try again after retry_after. Autopilot only. |
| A person is asked to | Raise the monthly limit (an owner or a developer). If nothing happens: It can be sent when the month resets. |
| Given by | send_letter |
over_per_letter_limit
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Pass on the link. Shorten it only if the wording may change. |
| A person is asked to | Raise the per-letter limit (an owner or a developer). If nothing happens: Nothing is sent. |
| Given by | send_letter |
over_recipient_limit
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 403 |
| What to do next | Pass on the link, or try again after retry_after. Autopilot only. |
| A person is asked to | Change the per-recipient limit (an owner or a developer). If nothing happens: It can be sent once the earlier letter is old enough. |
| Given by | send_letter |
outside_agent_rules
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Quote again inside the agent rules if that will do, or pass on the link. |
| A person is asked to | Change this agent's letter rules (an owner or a developer). If nothing happens: Nothing is sent. |
| Given by | send_letter |
customer_over_limit
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 403 |
| What to do next | Pass on the link, or try again after retry_after. Autopilot only. |
| A person is asked to | Raise this customer's limit (an owner or a developer). If nothing happens: It can be sent after midnight, or on the 1st for a monthly limit. |
| Given by | send_letter |
customer_paused
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Tell your person; only they can resume this customer. |
| A person is asked to | Resume this customer (an owner or a developer). If nothing happens: Nothing is sent. |
| Given by | quote_letter, send_letter |
customer_ref_not_allowed
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Check the reference. If it is new and right, ask your person to allow it. |
| A person is asked to | Allow new customer references (an owner or a developer). If nothing happens: Nothing is sent. |
| Given by | quote_letter, send_letter |
customer_sender_unverified
| |
|---|
| Answer | not_yet |
| Fixed by | person |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not send it again. Tell your person to ask the customer to look out for a letter from Atomside, or send from your own sender with until_verified: platform_sender. |
| Given by | send_letter |
customer_suspended
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Tell the person you are working for. |
| A person is asked to | Reply to the email from Atomside (an owner). If nothing happens: Nothing is sent for this customer. |
| Given by | quote_letter, send_letter, create_approval_link |
customer_sender_code_wrong
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Ask the customer to read the code again from the letter. Never guess codes. |
| Given by | confirm_customer_sender |
customer_sender_code_expired
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 410 |
| What to do next | Call resend_customer_sender_code, then wait for the customer to enter the new code. |
| Given by | confirm_customer_sender |
customer_sender_code_limit
approval_links_off
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Pass on the approval link from send_letter to your team instead. |
| A person is asked to | Turn on approval links in Brand and approvals (an owner). If nothing happens: Your team approves the letter in the console. |
| Given by | create_approval_link |
unclaimed_limit_reached
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Pass on tell_your_person from start_account, or new_claim_link. Claiming lifts the limit. |
| A person is asked to | Claim this account (the person this agent works for). If nothing happens: Nothing more can be sent. |
| Given by | check_address, send_letter |
approval_expired
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 422 |
| What to do next | Quote again once and pass on the new link. Then stop. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
agent_paused
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Pass on the link. Check get_account later. |
| A person is asked to | Look at the agent and resume it (an owner or a developer). If nothing happens: Nothing more is sent. |
| Given by | send_letter |
account_suspended
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Tell the person you are working for. |
| A person is asked to | Reply to the email from Atomside (the account owner). If nothing happens: Nothing live is sent. |
| Given by | send_letter |
sending_stopped
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry. Tell the person you are working for. |
| A person is asked to | Start sending again (an owner). If nothing happens: Nothing is sent. |
| Given by | send_letter |
not_ready_for_live
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Pass on the link to finish going live. Test mode still works. |
| A person is asked to | Finish going live (an owner). If nothing happens: Only test letters can be made. |
| Given by | send_letter |
key_cannot_send
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Give your person the quote to send, or the link to the key. |
| A person is asked to | Let this key send (an owner or a developer). If nothing happens: Nothing is sent. |
| Given by | send_letter, cancel_letter, advance_test_letter |
scope_missing
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Ask your person to give the key that permission. |
| A person is asked to | Change what this key may use (an owner or a developer). If nothing happens: Nothing changes. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
address_on_do_not_write
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Tell your person. Only they can take it off the list. |
| A person is asked to | Take the address off the do-not-write list on the Sender page (an owner). If nothing happens: No letter goes to this address. |
| Given by | quote_letter, send_letter, check_letter |
key_not_valid
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 401 |
| What to do next | Ask your person for a new key. There is no link: we cannot say whose it was. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
key_missing
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_fix: After you change the call. agent_can lists fixes you may make; "What to do next" below says how. |
| HTTP status | 401 |
| What to do next | Send the key as "Authorization: Bearer as_test_…". Ask your person if you have none. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
connection_ended
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 401 |
| What to do next | Tell your person. To carry on, they connect Atomside again in your assistant. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
returned_to_sender
| |
|---|
| Answer | no |
| Fixed by | person |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Do not write there again until your person confirms the address. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
Wait
customer_limit_reached
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | after_person: After a person has acted. Pass on the link; do not loop. |
| HTTP status | 403 |
| What to do next | Do not retry now. Send letters for the customers you have; get_account shows when the limit is lifted. |
| Given by | quote_letter, send_letter, create_customer |
prints_later
| |
|---|
| Answer | yes_later |
| Fixed by | wait |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Nothing to do. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
held_for_check
| |
|---|
| Answer | not_yet |
| Fixed by | wait |
| Retry | not_needed: Not needed: a letter exists and moves on by itself or after a person decides. |
| HTTP status | 202 |
| What to do next | Do not resend or reword it. Questions go to your person. |
| Money | Says what was held, charged or returned in money. |
| Given by | send_letter |
print_queue_full
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 503 |
| What to do next | Try after retry_after, or tell your person if the date matters. |
| Given by | send_letter |
rate_limited
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 429 |
| What to do next | Wait. The same idempotency key never sends twice. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, start_account, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
request_in_progress
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 409 |
| What to do next | Wait, then repeat the same call with the same key. You will get its answer. |
| Given by | send_letter, start_account, create_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
unclaimed_hourly_limit
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 429 |
| What to do next | Try again after retry_after. Claiming the account lifts the limit. |
| Given by | send_letter |
new_account_daily_limit
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 429 |
| What to do next | Try again after retry_after, or tell your person if it cannot wait. The limit ends 30 days after the account went live (details.new_until). |
| Given by | send_letter |
try_again_shortly
| |
|---|
| Answer | no |
| Fixed by | wait |
| Retry | at_time: After retry_after, with the same idempotency key. |
| HTTP status | 503 |
| What to do next | Try again after retry_after with the same idempotency key. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, start_account, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
Nobody can change it
customer_closed
customer_relationship_not_allowed
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 422 |
| What to do next | Do not retry this. For a sender, the customer must send its own letters (own_letters). |
| Given by | create_customer, update_customer, request_customer_sender |
approval_not_waiting
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Read the letter with get_letter to see what happened. |
| Given by | create_approval_link |
address_not_uk
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 422 |
| What to do next | Tell your person. We cannot post this letter. |
| Given by | check_address, quote_letter, check_letter |
service_not_offered
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 422 |
| What to do next | Quote first or second class if that will do. If not, ask. |
| Given by | quote_letter, check_letter |
declined_by_atomside
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 422 |
| What to do next | Do not reword it to get past us. Our note is in the console. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
too_late_to_cancel
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Tell your person now. A correction has to be a new letter. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
already_cancelled
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Do not send it again unless your person asks. |
| Money | Says what was held, charged or returned in money. |
| Given by | cancel_letter |
account_expired
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 401 |
| What to do next | Start again with start_account if your person still wants this. |
| Given by | get_account, check_address, upload_file, quote_letter, send_letter, get_letter, list_letters, cancel_letter, check_letter, wait_for_approval, new_claim_link, advance_test_letter, get_customer_usage, create_customer, list_customers, get_customer, update_customer, set_customer_limits, pause_customer, resume_customer, request_customer_sender, confirm_customer_sender, resend_customer_sender_code, create_approval_link, close_customer |
account_already_claimed
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 409 |
| What to do next | Nothing to do. Call get_account to see what changed. |
| Given by | start_account, new_claim_link |
test_mode_only
| |
|---|
| Answer | no |
| Fixed by | nobody |
| Retry | never: Never. The same call will get the same answer. |
| HTTP status | 403 |
| What to do next | Use a test key, or read the letter with get_letter. |
| Given by | advance_test_letter |