Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added some message status codes

...

Status code

Meaning

When?

0

Unknown

Message with the given id not found. It is possible that the message was submitted, but not yet processed by a worker. Or that such a message doesn't exist.

1

En route

Last event is "routed" or "re-routed" (after a bind failure)

2DeliveredMessage was sent and Delivery Receipt was received

5

Undeliverable

Last event is "unroutable". There's no bind (even among inactive ones) that can accept the message.

7

Invalid

Last event is "validation failed" (wrong text, recipient, etc.)

10

Submitted

Last event is "request received". Not yet routed. May be temporarily unroutable.

7

Invalid

Last event is "validation failed" (wrong text, recipient, etc.)

11

Sent

Last event is "sent"

Missing status codes: 2 (delivered), 3 (expired), 4 (deleted), 8 (rejected), 6 (accepted), 9 (pending)

Status code

Meaning

When?

-101

No username

 

-102

No password

 

-103

No document id

 

-104Invalid recipientRecipient number invalid
-105Invalid sourceSender number invalid
-106Empty textSMS text was empty

-200

Invalid username/password

Last event: "invalid username/pass"

-201

User disabled

Last event: "user disabled"

-210

Insufficient credits

Last event: "no credits"

-230Document ID not matchedUser does not have rights to check message status

-910

SMSC error

Last event: "send failure" 

-999

Internal error

 

...