# ERROR when Launching app from URL in ZIP format

**URL:** <https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633>\
**Category:** Issues/Bugs\
**Created:** [January 30, 2015, 1:05am UTC](https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633 "2015-01-30T01:05:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MuthuSelvan](https://discuss.appium.io/letter_avatar_proxy/v4/letter/m/779978/32.png) [@MuthuSelvan](https://discuss.appium.io/u/MuthuSelvan)\
**Post date:** [January 30, 2015, 1:05am UTC](https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633/1 "2015-01-30T01:05:22Z")

</div>

Hi ,

I am using appium grid for running iOS and android and currently i am using the following absolute path in code for launching the app from path , its working fine !

capabilities.setCapability(“app”,"/Users/mselvansr/grid/InternationalMountains.app");

My question , i want pass this URL or FTP server like or common path **( NOT FROM MY LOCAL )**

**capabilities.setCapability(“app”, “[http://appium.s3.amazonaws.com/TestApp6.0.app.zip](http://appium.s3.amazonaws.com/TestApp6.0.app.zip)”);**

I ran the below example code from URL but its throwing the error

**Example Code :**

> **[Test your iOS apps with Appium on iPhone, iPad and Android.](https://testingbot.com/support/getting-started/appium.html)**
>
> Automated hybrid and native iOS testing with Appium.

**ERROR :**  
org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: Bad app: [http://appium.s3.amazonaws.com/TestApp6.0.app.zip](http://appium.s3.amazonaws.com/TestApp6.0.app.zip). **App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error testing zip archive, are you sure this is a zip file? Error: Command failed: )** (WARNING: The server did not provide any stacktrace information)  
Command duration or timeout: 661 milliseconds

**Error in appium node :**  
info: [debug] Error: Bad app: [http://appium.s3.amazonaws.com/TestApp6.0.app.zip](http://appium.s3.amazonaws.com/TestApp6.0.app.zip). App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error testing zip archive, are you sure this is a zip file? Error: Command failed:  
at null. (/usr/local/lib/node\_modules/appium/lib/devices/ios/ios.js:178:13)  
at null. (/usr/local/lib/node\_modules/appium/lib/devices/device.js:132:11)  
at null. (/usr/local/lib/node\_modules/appium/lib/devices/device.js:167:7)  
at /usr/local/lib/node\_modules/appium/lib/helpers.js:139:11  
at /usr/local/lib/node\_modules/appium/lib/helpers.js:69:7  
at /usr/local/lib/node\_modules/appium/lib/helpers.js:104:9  
at ChildProcess.exithandler (child\_process.js:662:7)  
at ChildProcess.emit (events.js:98:17)  
at maybeClose (child\_process.js:766:16)  
at Socket. (child\_process.js:979:11)  
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Bad app: [http://appium.s3.amazonaws.com/TestApp6.0.app.zip](http://appium.s3.amazonaws.com/TestApp6.0.app.zip). App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error testing zip archive, are you sure this is a zip file? Error: Command failed: )”,“origValue”:"Bad app: [http://appium.s3.amazonaws.com/TestApp6.0.app.zip](http://appium.s3.amazonaws.com/TestApp6.0.app.zip). App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error testing zip archive, are you sure this is a zip file? Error: Command failed: "},“sessionId”:null}

**HELP ME PLEASE !**

Thanks ,  
Muthu Selvan SR

---

<div class="post-metadata">

**Author:** ![MuthuSelvan](https://discuss.appium.io/letter_avatar_proxy/v4/letter/m/779978/32.png) [@MuthuSelvan](https://discuss.appium.io/u/MuthuSelvan)\
**Post date:** [January 30, 2015, 7:18pm UTC](https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633/2 "2015-01-30T19:18:18Z")

</div>

**Any help on my issue as i want to launch my app from URL ?**

---

<div class="post-metadata">

**Author:** ![Hysistia](https://discuss.appium.io/letter_avatar_proxy/v4/letter/h/96bed5/32.png) [@Hysistia](https://discuss.appium.io/u/Hysistia)\
**Post date:** [February 2, 2015, 4:31pm UTC](https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633/3 "2015-02-02T16:31:15Z")

</div>

I can’t think of what would fix this; sounds like a possible bug.

Are you using BMProxy or something with iOS; something that would cause the request to fail?

Also, does the test app work if you download it and put it on your local FS?

If you need a workaround, maybe you can write some Java code to download and extract the file locally?

---

<div class="post-metadata">

**Author:** ![crujzo](https://discuss.appium.io/letter_avatar_proxy/v4/letter/c/5f8ce5/32.png) [@crujzo](https://discuss.appium.io/u/crujzo)\
**Post date:** [October 21, 2016, 3:28am UTC](https://discuss.appium.io/t/error-when-launching-app-from-url-in-zip-format/2633/4 "2016-10-21T03:28:09Z")

</div>

Hey Muthu were you able to resolve the issue? If yes please sharet he resolution if possible.
