When using await self.client.messages.create_async( where client is a twilio client, we got 'NoneType' object has no attribute 'status_code', this happens randomly and we dont know how to reproduce as all the other calls which I guess are thousands work as expected (with credentials and all that) but for some reason this happens time to time in our sentry issues.
I report it because it is happening inside library code.
Steps to Reproduce
create a client
send a request with await self.client.messages.create_async
Issue Summary
When using
await self.client.messages.create_async(
where client is a twilio client, we got'NoneType' object has no attribute 'status_code'
, this happens randomly and we dont know how to reproduce as all the other calls which I guess are thousands work as expected (with credentials and all that) but for some reason this happens time to time in our sentry issues.I report it because it is happening inside library code.
Steps to Reproduce
await self.client.messages.create_async
Exception/Log
with extra frames
Technical details: