Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whatsapp sender messaging limit is null #811

Open
zshanabek opened this issue Sep 4, 2024 · 2 comments
Open

Whatsapp sender messaging limit is null #811

zshanabek opened this issue Sep 4, 2024 · 2 comments

Comments

@zshanabek
Copy link

zshanabek commented Sep 4, 2024

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
@delarosa05
Copy link

delarosa05 commented Mar 6, 2025

Hi, this can be caused by the following stuff:

  1. Is your account in trial mode? This can be the root of the error. Make sure to check your account isn't in sandbox mode.
  2. Have you configured the limit of Whatssapp messages? You can check it on Twilio Dashboard
  3. Is your account free ? This can limit the amount of messages you can send in a day .
  4. You can get your account info using the next code:
`from twilio.rest import Client

client = Client(account_sid, auth_token)

account = client.api.accounts(account_sid).fetch()
print(account.status)
`

This will let you know if your account have got any type of constraints

  1. If the problem continues try contacting Twilio support.

PD: I am doing a college project where we have to documentate this module. Don't get mad at me :)

@tomjod
Copy link

tomjod commented Mar 8, 2025

Hi, this can be caused by the following stuff:

  1. Is your account in trial mode? This can be the root of the error. Make sure to check your account isn't in sandbox mode.
  2. Have you configured the limit of Whatssapp messages? You can check it on Twilio Dashboard
  3. Is your account free ? This can limit the amount of messages you can send in a day .
  4. You can get your account info using the next code:
`from twilio.rest import Client

client = Client(account_sid, auth_token)

account = client.api.accounts(account_sid).fetch()
print(account.status)
`

This will let you know if your account have got any type of constraints

  1. If the problem continues try contacting Twilio support.

PD: I am doing a college project where we have to documentate this module. Don't get mad at me :)

It doesn't work account = client.api.accounts(account_sid).fetch()

are you sure that is correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants