# Problem loading workflows Request failed with status code 401

**URL:** <https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539>\
**Category:** Questions\
**Tags:** core, desktop\
**Created:** [October 11, 2022, 7:34am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539 "2022-10-11T07:34:13Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 7:34am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/1 "2022-10-11T07:34:13Z")

</div>

![Zrzut ekranu 2022-10-11 093145](https://europe1.discourse-cdn.com/n8n/original/3X/4/d/4d19663bc114a227885d407cb1acd58b88261ece.png)

Hello everyone, what could be the reason for such a message?

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 11, 2022, 7:52am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/2 "2022-10-11T07:52:35Z")

</div>

Hi @Max_T, a 401 status suggests and authorization problem. Without further information on your setup and how to reproduce the problem it’s virtually impossible to say for certain what’s causing this though.

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 8:03am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/3 "2022-10-11T08:03:24Z")

</div>

I turned off n8n and turned it on again

 ![Zrzut ekranu 2022-10-11 100225](https://europe1.discourse-cdn.com/n8n/original/3X/7/b/7bcb9dd6f668e3c636eee9e9608bf404a53b853e.png)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 11, 2022, 8:06am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/4 "2022-10-11T08:06:30Z")

</div>

This looks like your frontend can’t talk to the n8n server and could suggest a reverse proxy or firewall is dropping traffic if n8n itself is up and running.

Still, I don’t know anything about your setup (how you have deployed n8n, which version you’re using, which operating system you’re running n8n on, which docker image you’re using if any, which other components process traffic between your browser and your server, etc.) nor do I know which steps lead to the behaviour you are encountering.

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 8:48am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/5 "2022-10-11T08:48:52Z")

</div>

n8n: 0.182.0, Microsoft Windows 8.1

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 8:59am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/6 "2022-10-11T08:59:04Z")

</div>

I also restarted the computer because it had been walking for a long time. I had it set that n8n should turn on after rebooting, but something took a long time to turn on so I turned it on manually. It showed errors again so I turned off n8n. In addition, I turned off n8n in the manager, because there was information in several items that it still works. I turned on the n8n again and this time waited. It took a long time, but this time there was no error loading workflow (in the sense of the same errors as before).

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 11, 2022, 9:01am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/7 "2022-10-11T09:01:38Z")

</div>

I am not 100% sure in which manager you turned off n8n. Are you using the desktop app of n8n? Is it perhaps crashing? What’s the output when you run it from the command line (the executable should live in `C:\Users\Max_T\AppData\Local\Programs\n8n\n8n.exe`, replace Max\_T with your Windows username)?

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 9:08am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/8 "2022-10-11T09:08:32Z")

</div>

I meant task manager. Here I checked if n8n was still running and disabled those threads (I think it’s called) that were still working. yes i am using the desktop application.  
 ![Zrzut ekranu 2022-10-11 110911](https://europe1.discourse-cdn.com/n8n/original/3X/0/b/0b038e042ef38f2b96bcfb717db2910df7ede3b1.png)

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 9:11am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/9 "2022-10-11T09:11:46Z")

</div>

oki this will turn off n8n and turn it on again from the command line

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 9:47am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/10 "2022-10-11T09:47:18Z")

</div>

the tunnel information part took a long time to load

 ![Zrzut ekranu 2022-10-11 113945](https://europe1.discourse-cdn.com/n8n/original/3X/b/5/b5b8c55f8a1b32c4ba81dbf5cec0f389beecd32f.png)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 11, 2022, 9:52am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/11 "2022-10-11T09:52:07Z")

</div>

The slowness might be related to [availability problems](https://status.n8n.cloud/787604441#logs) we have seen in parts of our infrastructure today. That said, I can unfortunately not see your screenshot, presumably because it requires a log in. Could you perhaps paste the actual text output here on the forum?

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 9:55am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/12 "2022-10-11T09:55:05Z")

</div>

oki changed the link to a photo

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 11, 2022, 10:12am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/13 "2022-10-11T10:12:57Z")

</div>

![Zrzut ekranu 2022-10-11 113945](https://europe1.discourse-cdn.com/n8n/original/3X/b/5/b5b8c55f8a1b32c4ba81dbf5cec0f389beecd32f.png)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [October 11, 2022, 10:14am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/14 "2022-10-11T10:14:35Z")

</div>

Hm, I am not quite sure what to make of the tcp\_socket\_win\_cc connect failed error tbh, but this could point towards the problem you are seeing. Perhaps @ivov knows more about this one?

---

<div class="post-metadata">

**Author:** ![ivov](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ivov/32/1463_2.png) [@ivov](https://community.n8n.io/u/ivov)\
**Post date:** [October 17, 2022, 3:44pm UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/15 "2022-10-17T15:44:48Z")

</div>

Screencaps show this is desktop app being run from the command line. Is this issue desktop-only or do you also see it when running locally via npm?

---

<div class="post-metadata">

**Author:** ![Max\_T](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/max_t/32/14649_2.png) [@Max\_T](https://community.n8n.io/u/Max_T)\
**Post date:** [October 18, 2022, 6:12am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/16 "2022-10-18T06:12:24Z")

</div>

I only have a desktop application installed.

---

<div class="post-metadata">

**Author:** ![ivov](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ivov/32/1463_2.png) [@ivov](https://community.n8n.io/u/ivov)\
**Post date:** [October 19, 2022, 10:28am UTC](https://community.n8n.io/t/problem-loading-workflows-request-failed-with-status-code-401/18539/17 "2022-10-19T10:28:17Z")

</div>

1. Released desktop 1.7.0 for 0.198.2. Can you check if this persists in 1.7.0? [Get started with n8n](https://n8n.io/get-started/)
2. Can you confirm if you see this issue also with vanilla n8n via npm? [npm - n8n Documentation](https://docs.n8n.io/hosting/installation/npm/)
