Error codes for Send Plain Group

From SMS Wiki
Jump to: navigation, search

Send_Plain_Group is API function that allows you to send a message to a group of recipients - a group is defined in your account and can contain any number of recipients. This page describes error statuses which Send_Plain_Group can generate


Send successful - the message was sent to the group of recipients


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">

 <isOk>true</isOk> 
 </SMSSendGroupResult>


Failed sending

Incorrect group name


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">

 <isOk>false</isOk> 
 <errorMessages>No such group</errorMessages> 
 </SMSSendGroupResult>


Not enough credits


 <?xml version="1.0" encoding="utf-8" ?> 

- <SMSSendGroupResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://upsidewireless.com/webservice/sms">

 <isOk>false</isOk> 
 <errorMessages>Not enough credits to send SMS to all members of the group. Please top-up your account and re-try</errorMessages> 
</SMSSendGroupResult>