twilio / twilio-go

A Go package for communicating with the Twilio API.
MIT License
271 stars 40 forks source link

400 when creating Studio Flow executions #250

Closed fterrag closed 5 days ago

fterrag commented 2 weeks ago

Hi there,

Since upgrading to 1.22.0, we're not able to create Studio Flow executions: Status: 400 - ApiError 20001: Missing required parameter To in the post body (null) More info: https://www.twilio.com/docs/errors/20001

We're including a value for the To param in the request:

params := &twiliostudio.CreateExecutionParams{}
params.SetTo(to.String())

Any idea what might be causing this?

kevinburkesegment commented 5 days ago

Hi @fterrag, v1.22.0 had an issue and has since been retracted. Please downgrade or upgrade to v1.22.2, and then report back if you still have a problem. Thanks!