X_SCRAPE_REDIRECT_LOOP
Means
the HTTP leg followed its hop limit of redirects without an answer
Typical cause
terminal. A chain that does not settle is a property of the endpoint and of the session reaching it — attempt 2 restores the same cookies and walks the same MAX_REDIRECT_HOPS (10) hops. The reachable case is a login redirecting to a page that redirects back to the login. Every hop is screened against allowHosts and robots and recorded in page.network(), so the chain is readable
Fix
request the URL the chain settles on directly — page.network() lists every hop — or repair the credential in secrets: