-
Notifications
You must be signed in to change notification settings - Fork 774
Open
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availabletype: bugbug in the librarybug in the library
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
- Send whatsapp message
- 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
Labels
priority: mediumImportant but not urgent; Workaround availableImportant but not urgent; Workaround availabletype: bugbug in the librarybug in the library
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
delarosa05 commentedon Mar 6, 2025
Hi, this can be caused by the following stuff:
This will let you know if your account have got any type of constraints
PD: I am doing a college project where we have to documentate this module. Don't get mad at me :)
tomjod commentedon Mar 8, 2025
It doesn't work
account = client.api.accounts(account_sid).fetch()
are you sure that is correct?