Cloudflare returns 502 for 302 response

We have our backend running behind Cloudflare. Somehow one of your endpoint which returns 302 redirect is displayed as 502 when running behind Cloudflare. Why is this? It works perfectly when there is no Cloudflare in front

302 page location header value is:

Switching Security → Settings → Security Level from Medium to Low solved the issue. Is there any reason for it?

Changing the security level suggests this was a challenge.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.