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
Thank you for this package it really helped me retrieve required data from the API.
I think there's a small issue with getting a transcription from a call object.
For example, this code:
client = TwilioRestClient(<ACCOUNT_SID>, <AUTH_TOKEN>)
call = client.calls.get(sid = sid)
recording = call.recordings.list()[0]
recording.transcriptions.list()
will result with the following error:
"The requested resource ... was not found"
(I even tried running recording.load_subresources() which didn't help).
However, if I retrieve the recording object again using the sid, everything will work.
For example, this code will work:
client = TwilioRestClient(<ACCOUNT_SID>, <AUTH_TOKEN>)
call = client.calls.get(sid = sid)
recording = call.recordings.list()[0]
recording = client.recordings.get(sid = recording.sid)
recording.transcriptions.list()
Please let me know if I'm missing anything or if you need more information regarding this.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for this package it really helped me retrieve required data from the API.
I think there's a small issue with getting a transcription from a call object.
For example, this code:
client = TwilioRestClient(<ACCOUNT_SID>, <AUTH_TOKEN>)
call = client.calls.get(sid = sid)
recording = call.recordings.list()[0]
recording.transcriptions.list()
will result with the following error:
"The requested resource ... was not found"
(I even tried running recording.load_subresources() which didn't help).
However, if I retrieve the recording object again using the sid, everything will work.
For example, this code will work:
client = TwilioRestClient(<ACCOUNT_SID>, <AUTH_TOKEN>)
call = client.calls.get(sid = sid)
recording = call.recordings.list()[0]
recording = client.recordings.get(sid = recording.sid)
recording.transcriptions.list()
Please let me know if I'm missing anything or if you need more information regarding this.
Thanks!
The text was updated successfully, but these errors were encountered: