Issue with too many redirects

Hey all,
I have deployed a website that was working but now after adding some updates to allow for sending emails, I am getting a too many redirects issue in chrome.

I have tried clearing my cookies, i have scoured my code for redirect loops but haven’t found any and I am not directly using cloudflare. I did try to add the vercel domain to it to set it up but it wouldn’t let me.

Any help will be appreciated.

Im using react and next.js. I added resend for the email provider and set up really basic workflows to test it out.

I did try to recreate the redirect issue in local host but got nowhere near the 170+ the vercel logs showed me.

thanks

i have somehow fixed it. Deleted the deployment, somehow deleted the code from my IDE but not github (phew) and added the code back, redeployed and it works…

Sometimes this is the case. :laughing:

Thanks for coming back with an answer!