Access the General SMS Settings page in Twilio Console.

Scroll to the "Enforce HTTP Auth on Media URLs" section, and then select Enable.


Click Save.