# ERR\_TOO\_MANY\_REDIRECTS Issue

**URL:** <https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108>\
**Category:** General\
**Created:** [July 24, 2024, 2:17am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108 "2024-07-24T02:17:19Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupa/32/4_2.png) [@kirupa](https://community.firebasestudio.dev/u/kirupa)\
**Post date:** [July 24, 2024, 2:17am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/1 "2024-07-24T02:17:19Z")

</div>

> **EDIT:** This should be fixed now! Please reply if you are still seeing the problems described below.

Hi everyone - we are aware of the issue many of you have shared ([one](https://community.firebasestudio.dev/t/how-repair-err-too-many-redirects/1091/4), [two](https://community.firebasestudio.dev/t/unable-to-view-view-preview/1032/15)) around your non-localhost previews no longer working by throwing a “Too many redirects” error:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/1X/7f186f58207808f264e49716d93d486b7c031ca6.png)

**Thanks to a handful of you have shared detailed feedback, we have identified the likely issue and are working with the right teams on the fix.**

Unfortunately, we don’t have a 100% foolproof workaround. Some of the workarounds that seem to work **most of the time** :

- Copying the preview URL to your clipboard, launching an Incognito Mode browser window, signing-in to [https://idx.google.com](https://idx.google.com), pasting the preview URL, and navigating to it.

- Committing your changes to a Git repo, creating a NEW workspace, and loading your files from Git again

- Switching your app previews to use our built-in Web Previewer that uses localhost

A few workarounds that work **inconsistently** :

- Clearing your cookies and reloading the browser URL

- In the preview URL that is generated, clearing the part after the query string and reloading the page

- Running your project build step (npm run dev, etc.) one more time and generating a new preview URL

These issues don’t always work consistently, but they are worth trying in case they solve it for you.

I do apologize for this disruption! Our goal is to reduce these types of major errors as we continue to improve Project IDX.

Cheers,  
Kirupa

---

<div class="post-metadata">

**Author:** ![kirupac](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupac/32/5_2.png) [@kirupac](https://community.firebasestudio.dev/u/kirupac)\
**Post date:** [July 24, 2024, 2:18am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/2 "2024-07-24T02:18:41Z")

</div>



---

<div class="post-metadata">

**Author:** ![Hamid\_Raza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/hamid_raza/32/356_2.png) [@Hamid\_Raza](https://community.firebasestudio.dev/u/Hamid_Raza)\
**Post date:** [July 24, 2024, 8:55am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/3 "2024-07-24T08:55:21Z")

</div>

can you tell me how can i do this  
\*\* Switching your app previews to use our built-in Web Previewer that uses localhost \*\*  
I am making a react js app  
TRIED INCOGNITO MODE METHOD BUT GETTING THE REDIRECT ERROR IN IT

---

<div class="post-metadata">

**Author:** ![Rafael\_Petra](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/rafael_petra/32/962_2.png) [@Rafael\_Petra](https://community.firebasestudio.dev/u/Rafael_Petra)\
**Post date:** [July 24, 2024, 10:39am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/4 "2024-07-24T10:39:41Z")

</div>

in IDX press (Cmd or Ctrl) + Shift + P and enter “show web view” this web view is native (localhost) and continues to work normally

---

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [July 25, 2024, 7:30pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/5 "2024-07-25T19:30:06Z")

</div>

For me is fixed, thank you!🙌🙌

---

<div class="post-metadata">

**Author:** ![kirupa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupa/32/4_2.png) [@kirupa](https://community.firebasestudio.dev/u/kirupa)\
**Post date:** [July 25, 2024, 8:17pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/6 "2024-07-25T20:17:44Z")

</div>

Yes, it should be fixed now! Please let us know if you are still seeing any issues.

---

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [July 26, 2024, 4:05pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/7 "2024-07-26T16:05:57Z")

</div>

Thank you for the update. While the issue seemed resolved temporarily, it’s unfortunately happening again. I’m experiencing “ERR\_TOO\_MANY\_REDIRECTS”  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/1X/ea7feb827793255be2154fcb86d172c8a3c49cc2.png)

---

<div class="post-metadata">

**Author:** ![kirupa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupa/32/4_2.png) [@kirupa](https://community.firebasestudio.dev/u/kirupa)\
**Post date:** [July 26, 2024, 5:57pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/8 "2024-07-26T17:57:34Z")

</div>

Yikes! That shouldn’t be happening. Can you please share your workspace with me (kirupa[at][google.com](http://google.com))?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/c/c6e91fed93c70ec5d13a54e79bd36443a65d506c.png)

---

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [July 26, 2024, 6:34pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/9 "2024-07-26T18:34:35Z")

</div>

> [@kirupa](#):
>
> Yikes! That shouldn’t be happening. Can you please share your workspace with me (kirupa[at][google.com](http://google.com))?

I appreciate your quick response. Thanks to your team, the issue has been fixed. For your reference, my project is built with React, Firebase, and Next.js. Thank you again

---

<div class="post-metadata">

**Author:** ![C\_David\_Moreno\_R](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/c_david_moreno_r/32/972_2.png) [@C\_David\_Moreno\_R](https://community.firebasestudio.dev/u/C_David_Moreno_R)\
**Post date:** [July 27, 2024, 7:00am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/10 "2024-07-27T07:00:16Z")

</div>

It’s happening again ;(  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/idxcommunity/original/2X/1/1edd3d0d6b824d71245d0e3d3113323218f77b18.png)

---

<div class="post-metadata">

**Author:** ![Juanjo\_Ortiz](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/juanjo_ortiz/32/1021_2.png) [@Juanjo\_Ortiz](https://community.firebasestudio.dev/u/Juanjo_Ortiz)\
**Post date:** [July 28, 2024, 8:28am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/11 "2024-07-28T08:28:56Z")

</div>

Hello, Im facing the same issue

---

<div class="post-metadata">

**Author:** ![Juanjo\_Ortiz](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/juanjo_ortiz/32/1021_2.png) [@Juanjo\_Ortiz](https://community.firebasestudio.dev/u/Juanjo_Ortiz)\
**Post date:** [July 28, 2024, 10:37am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/12 "2024-07-28T10:37:20Z")

</div>

Trying to give more info about it, I’m working in a project using next.js and storybook. I installed the idx extension to have the local web browser which looks working well (A little bit slow the hot refresh but well), but Im experimenting this problem in my local browser.  
TIA

---

<div class="post-metadata">

**Author:** ![Juanjo\_Ortiz](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/juanjo_ortiz/32/1021_2.png) [@Juanjo\_Ortiz](https://community.firebasestudio.dev/u/Juanjo_Ortiz)\
**Post date:** [July 28, 2024, 10:58am UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/13 "2024-07-28T10:58:40Z")

</div>

I have my project in github so I delete the workspace, create new one, and everything is working now 🥲

---

<div class="post-metadata">

**Author:** ![kirupa](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/kirupa/32/4_2.png) [@kirupa](https://community.firebasestudio.dev/u/kirupa)\
**Post date:** [July 28, 2024, 3:57pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/14 "2024-07-28T15:57:26Z")

</div>

Next time it happens, please share your workspace to kirupa[at][google.com](http://google.com) and email me your workspace ID. I can help investigate.

---

<div class="post-metadata">

**Author:** ![ARS](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/ars/32/12617_2.png) [@ARS](https://community.firebasestudio.dev/u/ARS)\
**Post date:** [March 12, 2026, 7:44pm UTC](https://community.firebasestudio.dev/t/err-too-many-redirects-issue/1108/15 "2026-03-12T19:44:16Z")

</div>

When this issue be resolved, I just want to download the .apk file I built but i can’t because of it. No matter how many times i clear cookies, or tried icognito mode this issue doen’t get resolved.
