How do I know if my messages have been delivered to the user?
Check this list of error codes that will help you monitor the delivery rates and also identify the reason why a message delivery failed.
Error on the server
Internal server error.
The ID wasn’t in use for over a year / the ID was recently created and wasn’t uploaded to the server yet.
An error in the request’s structure. Could be missing a comma, brackets, text over 1000 characters, etc.
Incorrect message type. Either a non-supported type or an incorrect value.
Missing mandatory parameters, for example, “tracking_data” when using a two-way message type.
Indicates a server timeout on Viber’s end.
The ID was blocked by the user / The user blocked business messages entirely on their device.
The destination number is not registered as a Viber user.
Not an Android or iOS device with a Viber version that supports Business Messages *5.3 and beyond).
The request was sent from a non-whitelisted IP for this ID / An incorrect ID that doesn’t belong to the partner was used in the request.
An error in the billing process – contact firstname.lastname@example.org
Missing value/incorrect value in the request for “label” parameter.
The TTL is under 30 seconds / The TTL is over 1,209,600 seconds.
The attempt exceeded the 10-message limit within a session.
The file that is being attempted to be sent is not in a supported format in this feature.
The name of the file is more than the maximum of 25 characters.