can anyone tell me how to resolve this problem. Java code is like below.
@Service
public class TwilioServiceProvider {
private static final String ACCOUNT_SID =
"ACbfadc94adf90fd6606222566aab3ef4";
private static final String AUTH_TOKEN = "f***********************";
public void sendMessage(String mobileNo){
Twilio.init(ACCOUNT_SID,AUTH_TOKEN);
Message message = Message.creator(new PhoneNumber(mobileNo),new
PhoneNumber("+18325323857"),"Account validation
successfull").create();
System.out.println(message.getAccountSid());
}
}
I get the following error:
com.twilio.exception.ApiException:
The requested resource /2010-04-01/Accounts/ACbfadc94adf90fd6606222566aab3ef4/Messages.json was not found