Hi @Adrien,
Line 74 in my code is basically trying to 'read' the account data part of Enhance via the API. You have a lot of 401 errors in your logs and these are classed as 'Unauthorized' errors. My script won't work unless it can read this information provided by Enhance.
For example this line should not be showing 401's:
/api/login/memberships:1 Failed to load resource: the server responded with a status of 401 ()
When incognito, if a refresh does not 'fix' the issue, there's a deeper issue. I don't think it's my script (but it could be!). I would love to jump in and take a look at your ECP, but understand that might not be possible. If you think it's possible, reach out via the email above and I'll take a look and try diagnose the issue for you.