You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the Twilio Python library supports authentication for retrieving media files. When making a GET request to a media file, you need to authenticate using Basic Auth with your Twilio Account SID and Auth Token.
Make sure:
Your ACCOUNT_SID and AUTH_TOKEN are correct.
The MEDIA_URL is correctly formatted.
Your Twilio account has the necessary permissions to access media files
The docs do not mention authentication: https://www.twilio.com/docs/whatsapp/tutorial/send-and-receive-media-messages-whatsapp-python
Does this library support doing it easily?
When I issue a GET request to a media file, I get a 401 unauthenticated
The text was updated successfully, but these errors were encountered: