# Invalid application returns "NetConnection.Connect.Rejected"?

**URL:** <https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582>\
**Category:** Wowza Streaming Engine\
**Created:** [November 30, 2011, 10:05am UTC](https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582 "2011-11-30T10:05:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Hurley](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@Mike\_Hurley](https://community.wowza.com/u/Mike_Hurley)\
**Post date:** [November 30, 2011, 10:05am UTC](https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582/1 "2011-11-30T10:05:48Z")

</div>

I’ve had the following happen on Wowza 2.2.4 and 3.03.

If I pass a connection URL of rtmp://server/junkApp, in my actionscript code I’ll get a code of “NetConnection.Connect.Rejected” with a description saying the application folder was not found. From what I see in the Flash documentation for the NetStatusEvent, I would expect to get a code of “NetConnection.Connect.InvalidApp”. What am I missing? I understand from what I’ve seen writing Wowza modules that the code is just a string, but I’d expect the strings defined in the Flash docs to be used where appropriate.

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 30, 2011, 4:37pm UTC](https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582/2 "2011-11-30T16:37:32Z")

</div>

Not sure if that is correct (it’s not an invalid app, it does not exist and Wowza rejected the connection), but in any case there is no guarantee that Wowza will send the same notifications as FMS.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [November 30, 2011, 4:54pm UTC](https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582/3 "2011-11-30T16:54:47Z")

</div>

You can test that scenario to see what notification you receive.

Richard

---

<div class="post-metadata">

**Author:** ![Mike\_Hurley](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@Mike\_Hurley](https://community.wowza.com/u/Mike_Hurley)\
**Post date:** [November 30, 2011, 10:42am UTC](https://community.wowza.com/t/invalid-application-returns-netconnection-connect-rejected/37582/4 "2011-11-30T10:42:49Z")

</div>

If an app that does not exist is not an invalid one, what is that invalid app code intended for? Bad/unsupported characters?
