Problems with Twilio API Request {"code":21604,"message":"A 'To' phone number is required."
Problems with Twilio API Request {"code":21604,"message":"A 'To' phone number is required."
Best answer
Problems with Twilio API Request {"code":21604,"message":"A 'To' phone number is required."
- 1 year ago August 9, 2024
- 19 replies
- 870 views
milobenavides New 9 replies
Hi, i’m having erros trying to call Twilio API Request, the error that appears is “{"code":21604,"message":"A 'To' phone number is required.","more_info":"https://www.carmenthyssenmalaga.org tried a lot of forms to add the ‘TO’ Parameter without result.
I attach the configurations of the step
Thank you for your help.
Best answer by SamB
Hey folks,
Just circling back in here to share that the Twilio app now supports WhatsApp messages! 😁 🎉
Thanks so much for your patience on this. We hope you’re able to give this new functionality a try soon!
As the feature was implemented we’ll be closing out this topic. If you run into any issues with it, feel free to start a new topic or reach out to our Support team directly and we’ll be happy to assist. In the meantime, happy Zapping! ⚡
View original
- Twilio
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.
19 replies
Oldest first
Troy Tessalone Zapier Orchestrator & Solution Partner 34873 replies 1 year ago August 9, 2024
Hi @milobenavides
Please link to the Twilio API endpoint documentation you used to configure the API request.
⚡ Troy Tessalone - AutomationAce.com | Top Zapier Solution Partner | #1 Zapier Community Contributor
milobenavides Author New 9 replies 1 year ago August 9, 2024
This is the information, this is in my Twilio account, probably it doesn’t public.
https://www.carmenthyssenmalaga.org response is
201 - CREATED - The request was successful. We created a new resource and the response body contains the representation.
{ "account_sid": "AC00812c3f10e0864cfa0b91f3a921de48", "api_version": "2010-04-01", "body": "Your appointment is coming up on July 21 at 3PM", "date_created": "Fri, 09 Aug 2024 21:35:09 +0000", "date_sent": null, "date_updated": "Fri, 09 Aug 2024 21:35:09 +0000", "direction": "outbound-api", "error_code": null, "error_message": null, "from": "whatsapp:+XXXXXXXXXX", "messaging_service_sid": null, "num_media": "0", "num_segments": "1", "price": null, "price_unit": null, "sid": "SM8e1bd585b5ddb3d045553b5289a08b1e", "status": "queued", "subresource_uris": { "media": "/2010-04-01/Accounts/AC00812c3f10e0864cfa0b91f3a921de48/Messages/SM8e1bd585b5ddb3d045553b5289a08b1e/Media.json" }, "to": "whatsapp:+XXXXXXXXXXXX", "uri": "/2010-04-01/Accounts/AC00812c3f10e0864cfa0b91f3a921de48/Messages/SM8e1bd585b5ddb3d045553b5289a08b1e.json" }Troy Tessalone Zapier Orchestrator & Solution Partner 34873 replies 1 year ago August 9, 2024
@milobenavides
First, remove the configured Query String Parameters.
Then check your parameter capitalization.
- To instead of to
- From instead of from
- Body instead of body
⚡ Troy Tessalone - AutomationAce.com | Top Zapier Solution Partner | #1 Zapier Community Contributor
milobenavides Author New 9 replies 1 year ago August 9, 2024
i chaged the configuration, but i have the same error.
{"code":21604,"message":"A 'To' phone number is required.","more_info":"https://www.carmenthyssenmalaga.org Tessalone Zapier Orchestrator & Solution Partner 34873 replies 1 year ago August 9, 2024
@milobenavides
Body needs to be valid JSON structure.
1{2 "From": "whatsapp:+1111111111",3 "To": "whatsapp:+2222222222",4 "Body": "Ahoy world!"5}6⚡ Troy Tessalone - AutomationAce.com | Top Zapier Solution Partner | #1 Zapier Community Contributor
milobenavides Author New 9 replies 1 year ago August 12, 2024
I has changed the body, the error persists.
Troy Tessalone Zapier Orchestrator & Solution Partner 34873 replies 1 year ago August 9, 2024
@milobenavides


