# Dynamic SMIL file

**URL:** <https://community.wowza.com/t/dynamic-smil-file/50588>\
**Category:** Wowza Streaming Engine\
**Created:** [January 17, 2018, 4:36pm UTC](https://community.wowza.com/t/dynamic-smil-file/50588 "2018-01-17T16:36:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dawn\_Conrad](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Dawn\_Conrad](https://community.wowza.com/u/Dawn_Conrad)\
**Post date:** [January 17, 2018, 4:36pm UTC](https://community.wowza.com/t/dynamic-smil-file/50588/1 "2018-01-17T16:36:40Z")

</div>

I tried to use CURL to dynamically load SMIL file and am getting the following response

\<?xml version="1.0" encoding="UTF-8" standalone="no"?\>4.7.1`500`The server encountered an unexpected condition which prevented it from fulfilling the request

Here is the CURL command I am sending:

curl -X POST --digest -u Admin:1000 --header ‘Accept:application/json;charset=utf-8’ --header ‘Content-Type:application/json;charset=utf-8’ [http://my.scola.org:8087/v2/servers/](http://my.scola.org:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/lakstream/smilfiles/schedule -d @json.txt

json.txt has the following:

{ “restURI”: “[http://my1.scola.org:8087/v2/servers/](http://my1.scola.org:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/lakstream/smilfiles/schedule”, “smilStreams”: [{ “systemLanguage”: “en”, “src”: “WT-20170912-220500-BD-BN-4-001-1500k.mp4”, “systemBitrate”: “50000”, “type”: “video”, “audioBitrate”: “44100”, “videoBitrate”: “150000”, “restURI”: “[http://my.scola.org:8087/v2/servers/](http://my.scola.org:8087/v2/servers/)_defaultServer_/vhosts/_defaultVHost_/applications/lakstream/smilfiles/schedule”, “width”: “640”, “height”: “360” }] }

---

<div class="post-metadata">

**Author:** ![Dawn\_Conrad](https://avatars.discourse-cdn.com/v4/letter/d/54ee81/32.png) [@Dawn\_Conrad](https://community.wowza.com/u/Dawn_Conrad)\
**Post date:** [January 17, 2018, 2:03am UTC](https://community.wowza.com/t/dynamic-smil-file/50588/2 "2018-01-17T02:03:13Z")

</div>

Looks like I did not complete my question on the above. I am running Wowza 4.7.1 on WIndows. I am able to get through Wowza Auth with no issues. Only issue is the server error which Wowza is returning back.

Any ideas??? thanks
