Skip to content

Whatsapp sender messaging limit is null #811

@zshanabek

Description

@zshanabek

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. Please set real value instead of null

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:

  • twilio-python version: 9.2.3
  • python version: 3.11.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumImportant but not urgent; Workaround availabletype: bugbug in the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions