I'm receiving the following error when using test credentials to create an SMS message using the Javascript SDK (v3.54.2):
function call: await this.twilio.messages.create({...})
Error Message:
Error: Permission to send an SMS has not been enabled for the region indicated by the 'To' number: +47********.
According to the these docs, the "to" number should be validated as normal. I am using the special test "from" number: +15005550006
With the live credentials, this error does not occur, so I would not expect this error to occur with test credentials... but it does.