Errors

instance_gone

The number that message was sent from has been deleted

A conversation outlives the number it happened on, so a message can name a number that no longer exists. There is nothing to send from.

What to do

Send it from another number: pass instance_id to POST /v1/messages. GET /v1/instances lists the ones this account has.

The shape

{
  "error": {
    "type": "...",
    "code": "instance_gone",
    "message": "...",
    "docs": "https://docs.njiwa.upeo.ai/errors/instance_gone"
  }
}