openhealthcare / cedar

Clinical Event Detection And Response
2 stars 2 forks source link

Handle SMS failures better. #30

Open rossjones opened 9 years ago

rossjones commented 9 years ago

Success looks like ..

{  
   "balance":X,
   "batch_id":XXXXXXXX,
   "cost":1,
   "num_messages":1,
   "message":{  
      "num_parts":1,
      "sender":"CEDAR",
      "content":"Testing delivery"
   },
   "receipt_url":"",
   "custom":"",
   "messages":[  
      {  
         "id":"XXXXXXXX",
         "recipient":XXXXXXXX
      }
   ],
   "status":"success"
}

Failure looks like

{  
   "errors":[  
      {  
         "code":3,
         "message":"Invalid login details"
      }
   ],
   "status":"failure"
}
creativecoder567 commented 6 years ago

showing this error how to solve url: "http://api.textlocal.in/send/?"

TechRaY commented 6 years ago

me too getting the same error with the above api

myhubgithub commented 3 years ago

here too..

:( Anyone please help