# 404 when calling APIs from app

**URL:** <https://community.homey.app/t/404-when-calling-apis-from-app/88121>\
**Category:** Developers\
**Tags:** app, homey-pro\
**Created:** [August 27, 2023, 11:59am UTC](https://community.homey.app/t/404-when-calling-apis-from-app/88121 "2023-08-27T11:59:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvile](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvile/32/79084_2.png) [@kvile](https://community.homey.app/u/kvile)\
**Post date:** [August 27, 2023, 11:59am UTC](https://community.homey.app/t/404-when-calling-apis-from-app/88121/1 "2023-08-27T11:59:33Z")

</div>

Hi,

I am creating a new app to interate with Innova Fancoils (not the 2.0 AC versions).  
The app discovers the IP address using MAC discover strategy.

The Innova API works flawlessly when calling it from Postman, but when trying from the app I get 404 Not found. I’ve tried multiple http packages like Axios, SuperAgent, and native http in Node.  
The GET request also works from Chrome.

My Homey Pro and the Innova Fancoil is connected to the same network.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![kvile](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kvile/32/79084_2.png) [@kvile](https://community.homey.app/u/kvile)\
**Post date:** [August 27, 2023, 7:18pm UTC](https://community.homey.app/t/404-when-calling-apis-from-app/88121/2 "2023-08-27T19:18:55Z")

</div>

Found out that it only fails when installing the app from terminal. When publishing the app for test, it works as expected…

---

<div class="post-metadata">

**Author:** ![Menno\_van\_Hout](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/menno_van_hout/32/77843_2.png) [@Menno\_van\_Hout](https://community.homey.app/u/Menno_van_Hout)\
**Post date:** [August 28, 2023, 6:00pm UTC](https://community.homey.app/t/404-when-calling-apis-from-app/88121/3 "2023-08-28T18:00:23Z")

</div>

Try `homey app run --remote`
