# Stream file is not created in content folder.

**URL:** <https://community.wowza.com/t/stream-file-is-not-created-in-content-folder/53350>\
**Category:** Hire a Consultant\
**Created:** [May 14, 2019, 4:24pm UTC](https://community.wowza.com/t/stream-file-is-not-created-in-content-folder/53350 "2019-05-14T16:24:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashu\_kumar2](https://avatars.discourse-cdn.com/v4/letter/a/71e660/32.png) [@Ashu\_kumar2](https://community.wowza.com/u/Ashu_kumar2)\
**Post date:** [May 14, 2019, 4:24pm UTC](https://community.wowza.com/t/stream-file-is-not-created-in-content-folder/53350/1 "2019-05-14T16:24:06Z")

</div>

Hi team,

I am using Wowza rest API to create stream file using c#

RestClient. I am receiving the created response as success but the stream file is not getting generated and I am receiving following error in the logs file.

"

- WARN server comment 2019-05-14 17:10:24 1860994054 127.0.0.1 - 1174689953 0 353904.905 - - - - - - - - REST API: StreamFileAppConfig.getXMLFilename() not all variables are defined. ‘{streamfileName}.stream’  
WARN server comment 2019-05-14 17:10:24 1860994054 127.0.0.1 - 1174689953 0 353904.911 - - - - - - - - REST API: StreamFileAppConfig.getXMLFilename() not all variables are defined. ‘{streamfileName}.stream’  
WARN server comment 2019-05-14 17:10:24 1860994054 127.0.0.1 - 1174689953 0 353904.911 - - - - - - - - Problem loading extra options from file: null: java.lang.NullPointerException|at java.io.File.(File.java:277)|at com.wowza.wms.rest.vhosts.streamfiles.StreamFileConfig.loadExtraOptions(Unknown Source)|at com.wowza.wms.rest.vhosts.applications.streamfiles.StreamFileAppConfig.loadExtraOptions(Unknown Source)|at com.wowza.wms.rest.vhosts.streamfiles.StreamFileConfig.saveObjectToFile(Unknown Source)|at com.wowza.wms.rest.ConfigBase.saveObject(Unknown Source)|  
WARN server comment 2019-05-14 17:10:24 1860994054 127.0.0.1 - 1174689953 0 353904.914 - - - - - - - - Problem saving to file: null: java.lang.NullPointerException|at java.io.File.(File.java:277)|at com.wowza.wms.rest.vhosts.streamfiles.StreamFileConfig.saveObjectToFile(Unknown Source)|at com.wowza.wms.rest.ConfigBase.saveObject(Unknown Source)|at com.wowza.wms.rest.ConfigBase.saveNewObject(Unknown Source)|at com.wowza.wms.rest.ConfigBase.post(Unknown Source)|

- I am making request like below **request.AddHeader(“Content-type”, “application/json; charset=utf-8”);**  
**request.AddHeader(“Accept”, “application/json; charset=utf-8”);**  
**request.Credentials = new NetworkCredential(“admin”, “admin”);**

---

<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:** [May 24, 2019, 11:08pm UTC](https://community.wowza.com/t/stream-file-is-not-created-in-content-folder/53350/2 "2019-05-24T23:08:28Z")

</div>

Hi @Ashu kumar, can you submit a support ticket and the engineers will walk you through this. They need to view all the logs and files however to do this. Thank you.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
