# Trouble starting a stream recording using the REST API

**URL:** <https://community.wowza.com/t/trouble-starting-a-stream-recording-using-the-rest-api/52315>\
**Category:** Wowza Developer Dojo\
**Tags:** recording\
**Created:** [November 14, 2018, 5:34pm UTC](https://community.wowza.com/t/trouble-starting-a-stream-recording-using-the-rest-api/52315 "2018-11-14T17:34:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex\_Lynch](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Alex\_Lynch](https://community.wowza.com/u/Alex_Lynch)\
**Post date:** [November 14, 2018, 5:34pm UTC](https://community.wowza.com/t/trouble-starting-a-stream-recording-using-the-rest-api/52315/1 "2018-11-14T17:34:49Z")

</div>

I am trying to start a stream recording based on this example: [https://www.wowza.com/docs/stream-recording-query-examples](https://www.wowza.com/docs/stream-recording-query-examples)

The response I get when starting a stream recording is: { “message”: “The server encountered an unexpected condition which prevented it from fulfilling the request”, “success”: false, “wowzaServer”: “4.7.6”, “code”: “500” }

In the error log I see the following:

class com.wowza.wms.rest.vhosts.applications.instances.streamrecorders.StreamRecorderConfig.post : java.lang.NullPointerException|at com.wowza.wms.rest.ConfigBase.post(Unknown Source)|at com.wowza.wms.rest.ConfigBase.post(Unknown Source)|at org.restlet.resource.ServerResource.doHandle(ServerResource.java:454)|at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:683)|at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:357)

Any ideas?

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [November 14, 2018, 10:57pm UTC](https://community.wowza.com/t/trouble-starting-a-stream-recording-using-the-rest-api/52315/2 "2018-11-14T22:57:13Z")

</div>

Hi @Alex Lynch, we’d need to take a closer look at your workflow in order to determine the issue. Would you kindly submit a support ticket so we may further assist you? Thank you.

> **[Open a Support Ticket | Wowza Media Systems](https://www.wowza.com/support/open-ticket)**
>
> Wowza technical support engineers worldwide help you succeed with your Wowza Streaming Engine™ software or the Wowza Streaming Cloud™ service.
