A member of the Response model the Error model will occur when the API method errors.
The following is a Response from send/status . This will occur when providing an invalid Message ID.
<response method="send/status" status="FAIL" version="1.2"> <error message="Transaction identifier missing" number="4"/> </response>
The following is a Response from send/status . This will occur when providing an invalid Message ID.
{
"response":{
"error":{
"message":"No such message ID",
"number":7
},
"version":"1.1",
"status":"FAIL"
}
}
The following is a Response from send/status . This will occur when providing an invalid Message ID.
FAIL 1.1
ERROR 7 No such message ID
Properties
A reference to the type of error which has occured. Any one of the following:
The UAID provided is invalid.
Obsolete in version 1.2. When a UAID is invalid the API will return an error code 4.
The UAID provided is inactive
Obsolete in version 1.2 When a UAID is inactive the API will return error code 4.
The user associated with the UAID does not have enough credit.
One of the parameters supplied is incorrect. More information about which parameter is invalid can be obtained from the error message.
The supplied application identifier does not exist.
Obsolete in version 1.2. When an application identifier is invalid the API will return error code 4.
The user has not added a mobile number to Betavine
No such Message ID
Obsolete in version 1.2. When an message identifier is invalid the API will return error code 4.
Internal API Error
Please report these in the Vodafone Betavine API Forums
Inactive API method.
The API method is down for maintenance. Please check the Vodafone Betavine API Forums
A message descibing the error which has occured. May contain extra information on what caused the error.