I'm trying to send SMS using Twilio from my PHP code and Postman but it always returns the error below. I confirm everything is correctly set and everything was working months ago.
- SID and TOKEN are correct and verified 5 times
- Auth method is correct and the error persists also via test on Postman
- The query is correct and it is the same as the test SMS sent from the Twilio console
Error:
{
"code": 20003,
"message": "Authenticate",
"more_info": "",
"status": 401
}
1 Answer
It seems the account sid used for Basic Auth is different from the one shown in the URL. Try to align the two of them and it should work.