twilio / twilio/twilio-python

Whatsapp sender messaging limit is null

Open
#811 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: medium type: bug
Dominant language
Python
Stars
2.1k
Forks
815
Avg merge
2d 13h
Merged PRs (30d)
2

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the WhatsApp message request with twilio-python 9.2.3 and inspect the returned TwilioRestException, including error 63038. Determine whether the null daily limit comes from this client or the Twilio API; done means identifying the source and confirming that the resulting error reports a real limit instead of null.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.