Wowza Community

Wowza Video REST API Error ERR-422-NoWrappingKey

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

@huong_ung

Please open a support ticket at the below link for a Wowza Support Engineer to further dig into this 422 error:
https://support.wowza.com/hc/en-us

Within the support ticket, we’ll need the full REST API call (minus your JWT token) you’re making and the full returned response.