It would be worth checking which custom domain you added first - you can do this in the dashboard under settings > custom domains. (The one you can delete is the explicit one you added)
Based on this, your application may be redirecting in the opposite way, so for example, if we redirect mysite.com → www.mysite.com and then the request arrives at your service and it redirects www.mysite.com → mysite.com then you end up in this redirection loop.
I am having the same problem. I have tried the solution @John_B suggested and it doesn’t seem to matter if I set up the custom domain with the www.myURL.com or just myURL.com, the infinite redirect keeps happening.
I’d really suggest dropping down to using curl to inspect the headers to see what’s happening - browser caching redirects can really hide actual behaviour.
You’re getting the ERR_TOO_MANY_REDIRECTS likely because both Render and your DNS setup are redirecting www to non-www (or vice versa) repeatedly. To fix it, go to your Render Custom Domains settings and choose either www or non-www as the primary domain, then redirect the other one to it (not both ways). Also, ensure your DNS settings only point one version (e.g., www) via CNAME and the root (@) via A record, without circular redirection. Clear browser cookies and cache after changes.