WindmillWWindmill
Powered by
mindofbeholderM
Windmill•3y ago•
11 replies
mindofbeholder

Failed to deserialize form body on twilio POSTs to Windmill intake webhook

Windmill version: CE v1.208.0-12-gd82027cbf
Webhook: https://windmill.redacted.dev/api/w/home/jobs/run_wait_result/f/f/twilio/twilio_intake?token=redacted

I have twilio setup to post to a webhook trigger in a flow.
Twilio sends texts as x-www-form-urlencoded payloads.
I am seeing the following error response from Windmill on POST:
Failed to deserialize form body: invalid type: map, expected option
Failed to deserialize form body: invalid type: map, expected option

I can reproduce this behavior in Postman.

Sample payload:
ToCountry:US
ToState:AK
SmsMessageSid:SMredacted
NumMedia:0
ToCity:
FromZip:55555
SmsSid:SMredacted
FromState:AK
SmsStatus:received
FromCity:REDACTED
Body:Test
FromCountry:US
To:+15555555
MessagingServiceSid:MGredacted
ToZip:
NumSegments:1
MessageSid:SMredacted
AccountSid:ACredacted
From:+15555555
ApiVersion:2010-04-01
ToCountry:US
ToState:AK
SmsMessageSid:SMredacted
NumMedia:0
ToCity:
FromZip:55555
SmsSid:SMredacted
FromState:AK
SmsStatus:received
FromCity:REDACTED
Body:Test
FromCountry:US
To:+15555555
MessagingServiceSid:MGredacted
ToZip:
NumSegments:1
MessageSid:SMredacted
AccountSid:ACredacted
From:+15555555
ApiVersion:2010-04-01
WindmillJoin
3,362Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Webhook to another windmill instance
José PeñaJJosé Peña / help
2y ago
401 Unauthorized Webhook between TwentyCRM and Windmill
AntPruveAAntPruve / help
13mo ago
Self-hosted Windmill Webhook Events Not Sending
SkilldeliverSSkilldeliver / help
2y ago
Airplane to Windmill migration
ChristieCChristie / help
3y ago