Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Call Time Limits Broken #258

Open
je-movers-market opened this issue Dec 19, 2024 · 0 comments
Open

[Bug] Call Time Limits Broken #258

je-movers-market opened this issue Dec 19, 2024 · 0 comments

Comments

@je-movers-market
Copy link

Issue Summary

Time limits do not work with the SDK

Steps to Reproduce

Attempt to set a time limit like below, either via directly passing a reference to an integer, or using the provided 'SetTimeLimit' function like below.

Code Snippet

params := twilioApi.CreateCallParams{To: &phoneNumberTo, From: &env.twilioFromNumber, Twiml: &twiMLResult}
params.SetTimeLimit(900)

resp, err := client.Api.CreateCall(&params)
if err != nil {
   fmt.Println(err.Error())
} 

Exception/Log

Status: 400 - ApiError 13216: Invalid TimeLimit value (null) More info: https://www.twilio.com/docs/errors/13216

Technical details:

  • twilio-go version: 1.23.8
  • go version: 1.23.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant