Closed lsiv568 closed 2 years ago
Looks like the API is expecting an array of objects and not just a singular object. After the fix, your rules would change to this:
startRecordingRules = []map[string]interface{}{{
"type": "include",
"all": true,
}}
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog.
Issue Summary
When calling
UpdateRoomRecordingRule
on theclient.v1Video
the errorStatus: 400 - ApiError 53120: Invalid Recording Rule(s) (null) More info: https://www.twilio.com/docs/errors/53120
is always returned. However, I have confirmed (see screen shot below) that the proper data is being sent and the rules are in fact valid.Steps to Reproduce
v1video
clientUpdateRoomRecordingRuleParams
UpdateRoomRecordingRule
on the clientCode Snippet
Exception/Log
Technical details: