# Download and Install Update

**URL:** <https://forum.ionicframework.com/t/download-and-install-update/110089>\
**Category:** Appflow\
**Created:** [October 26, 2017, 4:22pm UTC](https://forum.ionicframework.com/t/download-and-install-update/110089 "2017-10-26T16:22:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ISG](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@ISG](https://forum.ionicframework.com/u/ISG)\
**Post date:** [October 26, 2017, 4:22pm UTC](https://forum.ionicframework.com/t/download-and-install-update/110089/1 "2017-10-26T16:22:25Z")

</div>

I am attempting to use the new Ionic Pro deploy implementation, using the following code:

```auto
window.IonicCordova.deploy.check(appId, channelName, (res: any) => {
    if (res && res == 'true') {
        window.IonicCordova.deploy.download(appId, () => {
            window.IonicCordova.deploy.extract(appId, () => {
                window.IonicCordova.deploy.redirect(appId, () => {}, () => {});
            }, (e: any) => { });
        }, (e: any) => { });
    }
}, (e: any) => { });

```

However, when running on the device, the debug console gives me the following result:

```auto
2017-10-26 17:08:48.234957+0100 LogIt-In[42384:895251] version is: 0.0.207
2017-10-26 17:08:48.235243+0100 LogIt-In[42384:895251] uuid is:
2017-10-26 17:08:48.235411+0100 LogIt-In[42384:895251] channel is: preproduction
2017-10-26 17:08:48.235553+0100 LogIt-In[42384:895251] JSON Error: (null)
2017-10-26 17:08:48.235713+0100 LogIt-In[42384:895251] Response: (null)
2017-10-26 17:08:48.236321+0100 LogIt-In[42384:895251] JSON: {
    error = {
        link = "<null>";
        message = "404: Not Found";
        type = NotFound;
    };
    meta = {
        "request_id" = "<null>";
        status = 404;
        version = "2.0.0-sdlc-beta.0";
    };
}
2017-10-26 17:08:48.236589+0100 LogIt-In[42384:895251] compatible: False
2017-10-26 17:08:48.236737+0100 LogIt-In[42384:895251] available: False
2017-10-26 17:08:48.236893+0100 LogIt-In[42384:895251] Refusing update due to incompatible binary version
2017-10-26 17:08:48.237017+0100 LogIt-In[42384:895251] update is false

```

My [ionic.io](http://ionic.io) version of the app exists, and is built and ‘deployed’ to the preproduction channel. There are no version restrictions.

Is this 404 error normal functionality? And, what am I doing wrong (or should I be looking for) to have the app update.

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [October 26, 2017, 9:15pm UTC](https://forum.ionicframework.com/t/download-and-install-update/110089/2 "2017-10-26T21:15:09Z")

</div>

Ionic Pro is a hosted and closed source service, so there is not much we, the community, can help you with, sorry. Check these:

- FAQ and common/known issues at [https://ionic.zendesk.com/hc/en-us/sections/115003254647-FAQ-Common-Issues](https://ionic.zendesk.com/hc/en-us/sections/115003254647-FAQ-Common-Issues)
- Common build errors at [https://ionic.zendesk.com/hc/en-us/sections/115003490348-Common-build-errors](https://ionic.zendesk.com/hc/en-us/sections/115003490348-Common-build-errors)
- Official documentation at [https://ionicframework.com/docs/pro/](https://ionicframework.com/docs/pro/)

You can - and should - contact support at [http://ionicframework.com/support#support](http://ionicframework.com/support#support)

* * *

What is your `ionic info` output?

---

<div class="post-metadata">

**Author:** ![ISG](https://avatars.discourse-cdn.com/v4/letter/i/53a042/32.png) [@ISG](https://forum.ionicframework.com/u/ISG)\
**Post date:** [October 27, 2017, 8:13am UTC](https://forum.ionicframework.com/t/download-and-install-update/110089/3 "2017-10-27T08:13:03Z")

</div>

ionic info result:

```auto
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.15.2
    ionic (Ionic CLI) : 3.15.2

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 3.0.1
    Cordova Platforms : android 6.2.3 ios 4.5.1
    Ionic Framework : ionic-angular 3.7.1

System:

    ios-deploy : 1.9.2 
    ios-sim : 5.0.13 
    Node : v6.9.1
    npm : 5.4.2 
    OS : macOS Sierra
    Xcode : Xcode 9.0 Build version 9A235 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

```
