I'm using Parse cloud to send SMS for verification. this is my cloud js code im using
function sendCodeSms(countryCode, phoneNumber, code) {
var promise = new Parse.Promise();
twilio.sendSms({
to: countryCode + phoneNumber,
from: twilioPhoneNumber,
body: 'Your login code for TestApp is ' + code
}, function(err, responseData) {
if (err) {
console.log(err);
promise.reject(err.message);
} else {
promise.resolve();
}
});
return promise;
}
On Twilio Logs status says "Sent" but it is never delivered. Not sure what I'm doing wrong? It was working fine 2 days ago.
Here is the screenshot http://i.imgur.com/iDUbzKC.png