Hi
I’m using v1.9 of the REST API for Wowza Video.
I’m trying to set the audio codec and bitrate on a transcoder output using a HTTP PATCH as described in the documentation.so the target url I’m using is
–api.video.wowza.com/api/v1.9/transcoders/transcoder_id/outputs/output_id
The API response is always "ERR-422-NoWrappingKey - The JSON data you tried to push isn’t wrapped in a root key."
However the JSON I’m sending is:
{“transcoder”:{“bitrate_audio”:510,“video_codec”:“h264”,“audio_codec”:“opus”}}
As you can see the JSON is correct.
Furthermore I am able to use a HTTP PATCH to update properties on a live stream and I can successfully retrieve data about live streams, transcoders, etc. So as far as I can see the HTTP Authorization Token and content type are being set correctly.
Is there something obvious I’ve missed?
Many thanks