I'm attempting to use the Twilio Lookup service, purely the validate and format numbers into international format (even without having the original country code)
This is the Twilio example, with a slight modification, seen in their docs:
TwilioClient.Init(accountSid, authToken);
var type = new List<string> {
"national_format"
};
var phoneNumber = PhoneNumberResource.Fetch(
type: type,
pathPhoneNumber: new Twilio.Types.PhoneNumber("07738629111")
);
Console.WriteLine(phoneNumber.NationalFormat);
return phoneNumber.NationalFormat;
Errors, with the following
{"The requested resource /PhoneNumbers/07738629111 was not found"}
Yet, this is the same as Twilio docs... furthermore, my accountSid and authToken are correct, as I'm using the API doing something else.
Could this possibly be a coding issue, and does anybody know how to solve it?