twilio / twilio-python

A Python module for communicating with the Twilio API and generating TwiML.
MIT License
1.85k stars 711 forks source link

Whatsapp sender messaging limit is null #811

Open zshanabek opened 2 months ago

zshanabek commented 2 months ago

Issue Summary

When I try to send message from whatsapp number to whatsapp number I get error: Account exceeded the null daily messages limit. It's very strange that null value is assigned to limit variable.

Steps to Reproduce

  1. Send whatsapp message
  2. Get limit error

Code Snippet

client = Client(account_sid, auth_token)
 message = client.messages.create(
            from_=f'whatsapp:{from}',
            body=body,
            to=f'whatsapp:{phone}'
        )

Exception/Log

twilio.base.exceptions.TwilioRestException: 
HTTP Error Your request was:

POST /Accounts/<account_sid>/Messages.json
Twilio returned the following information:
Unable to create record: Account <account_sid> exceeded the null daily messages limit
More information may be available here:
https://www.twilio.com/docs/errors/63038

I can provide account_id if necessary

Technical details: