# Wowza Video REST API Error ERR-422-NoWrappingKey

**URL:** <https://community.wowza.com/t/wowza-video-rest-api-error-err-422-nowrappingkey/95739>\
**Category:** Wowza Video (Formerly Streaming Cloud)\
**Created:** [December 19, 2022, 3:43pm UTC](https://community.wowza.com/t/wowza-video-rest-api-error-err-422-nowrappingkey/95739 "2022-12-19T15:43:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![huong\_ung](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@huong\_ung](https://community.wowza.com/u/huong_ung)\
**Post date:** [December 19, 2022, 3:43pm UTC](https://community.wowza.com/t/wowza-video-rest-api-error-err-422-nowrappingkey/95739/1 "2022-12-19T15:43:51Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jason\_Tuchler](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_tuchler/32/462_2.png) [@Jason\_Tuchler](https://community.wowza.com/u/Jason_Tuchler)\
**Post date:** [December 20, 2022, 12:00am UTC](https://community.wowza.com/t/wowza-video-rest-api-error-err-422-nowrappingkey/95739/2 "2022-12-20T00:00:11Z")

</div>

@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](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.
