Errors / message_not_found

Message not found

HTTP 404invalid_requestmessage_not_found

No message with that id on this account.

What to do

Check you are using the id the API returned — a 26-character ULID like 01j8xk2p7n4qc3m9v0wz5bt6ay — rather than your own reference, and that you are using the same key: a test-mode key cannot see live messages and a live key cannot see test ones.

What it looks like

{
  "error": {
    "type": "invalid_request",
    "code": "message_not_found",
    "message": "…",
    "doc_url": "https://docs.textmast.com/errors/message_not_found",
    "request_id": "req_01j8xk2p7n4qc3m9v0wz5bt6ay"
  }
}

Quote the request_id if you get in touch. It is on every response, including this one, and it turns a support email into a single log query rather than an archaeology exercise.