What is the difference between 'failed' and 'refused' message statistics?

Refused messages are those rejected for an 'expected' reason: for example, due to a defect in the request such as a malformed message, or a rate limit, or the client lacking the correct permissions.

Failed messages are those rejected for an 'unexpected' reason: either due to a service issue on our side, or the message being rejected by the external target in the case of a Reactor or Push message. (Note that since we can't distinguish between expected and unexpected reasons from external sources, all rejections from external systems such as Reactor targets will show up as failed stats in the relevant stats section.)


If you have any questions or concerns then please reach out by emailing support@ably.com