twiliotwilio-api

Voice Recording - Authentication Error - No credentials provided


Within our application, we store voice recordings in such format.

"https://api.twilio.com#{response.uri}".chomp('.json')

e.g.

https://api.twilio.com/2010-04-01/Accounts/ACdbe2ee44ecf773e4ef80324e703d4ddf/Calls/CA516d5ad425160d0792491c1653a19466/Recordings/RE08917cb4f4288d95d48f451296aee005

Previously, we didn't have trouble listening to voice recordings by accessing such URLs

For some reason, it requires auth now and returns a 20003 error

Enforce HTTP Auth on Media URLs setting is disabled

Is it something changed in Twilio we are not aware of?

Thanks


Solution

  • If you are wanting to access the recordings without authentication then your current example URL format is incorrect. For the example URL you provided, you should use https://api.twilio.com/2010-04-01/Accounts/ACdbe2ee44ecf773e4ef80324e703d4ddf/Recordings/RE08917cb4f4288d95d48f451296aee005 instead.