50
Views
11
Comments
Too many redirects

Hello everyone,

I am encountering the following error in my application and have not been able to identify its source:

  1. Too many redirects

  2. [ErrorScreen] Too many redirects

Has anyone experienced this issue before or can provide guidance on how to resolve it? Any assistance would be greatly appreciated.

Thank you in advance for your support.

2019-06-15 21-39-22
Afonso Carvalho
 
MVP

Hi Vijay,

Without taking a look at the application or understanding its flow, you'll only get very general advice.

I've seen this happen often with permissions: page X requires a specific permission that the current user does not possess, the user is redirected to page Y (that also requires specific permissions) because of the Security Exception, the user is once again redirected, and is then stuck in a loop.

Have you tried debugging your app?

2025-12-04 09-01-03
Kiet Phan
Champion

I encountered this issue before and the reason is the redirection stuck in a infinity loop between 2 screens.

2025-08-07 06-30-56
Amit J
Champion

Hi 
Please refer the below post, i hope it would help to resolve this issue 


https://www.outsystems.com/forums/discussion/62900/force-https-err-too-many-redirects/

 https://www.outsystems.com/forums/discussion/68181/too-many-automatic-redirections-were-attempted/

it would be hard to know without details, why this is happening with you.  Is it possible to share more details.



2026-03-12 10-32-06
Wahaj Adil

i got the same issue once , because of a loop between the screens.
you may debug the code and check for the issue, also please go through the link this may help you.
thanks.

2024-12-02 12-15-17
Aravind EONE

Hi Vijay,

Are you using SSO login in your application ?

Kindly share the full log from service center for better assistance and troubleshooting.

2025-01-24 12-41-20
Vijay Dhasnamoorthy

Hi Aravid,

Stack message mentioned below error I'm getting

Error: Too many redirects.

    at Object.M [as navigateTo] (domain/application/scripts/OutSystems.js?+KEi4Um_ajmY14N9O2eCuw:7:20365)

    at domain/application/scripts/application.Common.controller.js?rMX62PtaQS0HwVGpWYIbtA:76:42

    at d (domain/application/scripts/OutSystems.js?+KEi4Um_ajmY14N9O2eCuw:2:19135)


Here domain/application mentioned like "personal.abc.outsystemcloud.com/Home"

UserImage.jpg
Vishal V

Hi Vijay,

I’ve had the same issue before. It was caused by an infinite loop in the code when fetching data from API. The requests kept repeating, which led to too many redirects.

I fixed it by adding a small delay between requests. This stopped the loop and allowed the app to work without any redirect issues.

Let me know if you need more info.

2025-08-03 07-20-35
Mythily - EONE

Hi Vijay,

Can you share the full error log, 

Are you using 3rd party API calls in the specified screens?

Is this happening in all screens?

It will be better if you provide the above information

UserImage.jpg
Magnus

Hello Vijay,

we have an open problem (RPM-6008) regarding this behavior, but OutSystems has set its status to “Investigation on hold”. It has something to do with how OutSystems handles the SecurityException. They also have a workaround for this, but they only seem to describe it if someone opens a ticket on the issue.

I would appreciate it if you could open a ticket for this issue so that it might be given higher priority. To be honest, I don't understand why workarounds for known issues are not generally documented publicly by OutSystems.

2025-01-24 12-41-20
Vijay Dhasnamoorthy

Hi Magnus,

I tried checking the above problem (RPM-6008), but I couldn’t find it. Could you please share the link.

UserImage.jpg
Magnus

Hi Vijay, this is the RPM that has been assigned to our support case. You can refer to it when you open a support case yourself, then your incident should be linked to this RPM. That's how the topic normally gets more priority by OutSystems.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.