Closed wung-s closed 1 week ago
error decoding the response for an HTTP error code: 400: invalid character '<' looking for beginning of value
It happens the same to me too
Outgoing calls are also failing with error No 'To' number is specified (null)
. I downgraded to 1.21.0 as a workaround.
Oh let me check once and get back
Okay, so I got it. The fix for this has already been pushed in the repo actually. See #249. But somehow it is not reflecting in the release. Possibly we need to make another release after deleting this tag. Let me see what I can do
Issue Summary
Without any other code change, upgrading twilio-go to
v1.22.0
fromv1.21.1
errors outSteps to Reproduce
v1.21.1
sendSMS
(will succeed)github.com/twilio/twilio-go v1.21.1
togithub.com/twilio/twilio-go v1.22.2
in go.mod and dogo mod tidy
to install the upgraded versionsendSMS
(returns an error)Code Snippet
Exception/Log
Technical details:
v1.22.0
go1.22.0 darwin/amd64