# RunVS code app does not recognize umbrel link

**URL:** <https://community.umbrel.com/t/runvs-code-app-does-not-recognize-umbrel-link/7901>\
**Category:** General Discussion\
**Created:** [June 1, 2022, 1:30am UTC](https://community.umbrel.com/t/runvs-code-app-does-not-recognize-umbrel-link/7901 "2022-06-01T01:30:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![al09d086s](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@al09d086s](https://community.umbrel.com/u/al09d086s)\
**Post date:** [June 1, 2022, 1:30am UTC](https://community.umbrel.com/t/runvs-code-app-does-not-recognize-umbrel-link/7901/1 "2022-06-01T01:30:41Z")

</div>

Hi there, I am trying to run a python script on the Run VS code app on my umbrel.  
In one part of the code I am requesting the latest transactions using the mempool API with the “requests” library on python but it is giving me an error.  
Below the code:  
latestTx = requests.get(‘[http://umbrel.local:3006/api/mempool/recent](http://umbrel.local:3006/api/mempool/recent)’)

It works if I change it with the equivalent link below:  
latestTx = requests.get(‘[https://mempool.space/api/mempool/recent](https://mempool.space/api/mempool/recent)’)

The reason I want to use the first link is because I want to use the data directly from my umbrel.  
I also wanted to add that I am currently running the code on my own laptop and it runs fine.

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [June 1, 2022, 3:16am UTC](https://community.umbrel.com/t/runvs-code-app-does-not-recognize-umbrel-link/7901/2 "2022-06-01T03:16:52Z")

</div>

Using the node IP instead of “umbrel.local” works here.

---

<div class="post-metadata">

**Author:** ![al09d086s](https://avatars.discourse-cdn.com/v4/letter/a/e36b37/32.png) [@al09d086s](https://community.umbrel.com/u/al09d086s)\
**Post date:** [June 1, 2022, 12:14pm UTC](https://community.umbrel.com/t/runvs-code-app-does-not-recognize-umbrel-link/7901/3 "2022-06-01T12:14:25Z")

</div>

Thanks it works!!
