# The live app I created with Api does not work

**URL:** <https://community.wowza.com/t/the-live-app-i-created-with-api-does-not-work/55019>\
**Category:** Wowza Streaming Engine\
**Tags:** rest-api\
**Created:** [April 20, 2020, 7:31pm UTC](https://community.wowza.com/t/the-live-app-i-created-with-api-does-not-work/55019 "2020-04-20T19:31:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ekrem\_ekrem](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@ekrem\_ekrem](https://community.wowza.com/u/ekrem_ekrem)\
**Post date:** [April 20, 2020, 7:31pm UTC](https://community.wowza.com/t/the-live-app-i-created-with-api-does-not-work/55019/1 "2020-04-20T19:31:30Z")

</div>

Hello,

I’m dealing with Wowza live. I create an app with Api. When I look at the broadcast page, transcoder processes are done. I already created the smil file. The url I use to watch the broadcast:

http://[wowza-ip-address]:1935/testlive/test.smil/playlist.m3u8

It works when I create a live app from the panel but it doesn’t work when I create a live app with api. I couldn’t see the error exactly. Where am I making mistakes?

I test it in theo player, there is no image.

I wonder if I’m missing something in api request

api request i use:

curl --digest -u “[username]:[password]” -X POST -H ‘Accept:application/json; charset=utf-8’ \

-H ‘Content-Type:application/json; charset=utf-8’ http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive

-d’{

“restURI”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive”,

“name”: “testlive”,

“appType”: “Live”,

“clientStreamReadAccess”: “\*”,

“clientStreamWriteAccess”: “\*”,

“httpCORSHeadersEnabled”: true,

“description”: “A basic live application”,

“streamConfig”: {

“restURI”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/streamconfiguration”,

“streamType”: “live”

},

“transcoderConfig”: {

“restURI”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder”,

“available”: true,

“licensed”: true,

“licenses”: -1,

“licensesInUse”: 0,

“templates”: {

“restURI”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates”,

“templates”: [

{

“id”: “transcode”,

“href”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transcode”

},

{

“id”: “audioonly”,

“href”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/audioonly”

},

{

“id”: “transcode-h265-divx”,

“href”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transcode-h265-divx”

},

{

“id”: “transrate”,

“href”: “http://[wowza-ip-address]:8087/v2/servers/_defaultServer_/vhosts/_defaultVHost_/applications/testlive/transcoder/templates/transrate”

}

]

},

“liveStreamTranscoder”: “transcoder”,

“templatesInUse”: “${SourceStreamName}.xml,transrate.xml”,

“profileDir”: “${com.wowza.wms.context.VHostConfigHome}/transcoder/profiles”,

“templateDir”: “${com.wowza.wms.context.VHostConfigHome}/transcoder/templates”,

“createTemplateDir”: false

}

}’

---

<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:** [April 21, 2020, 1:54pm UTC](https://community.wowza.com/t/the-live-app-i-created-with-api-does-not-work/55019/2 "2020-04-21T13:54:02Z")

</div>

Hello, because the forums are not an official source of wowza technical support, all code review and debugging requires a support ticket. You can submit one here and we’d be happy to get this set up with you correctly. We’ll need to look at several files. Thanks.

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