I got this to work by changing my url. For example, it was https://www.website.com/partner-portal and I changed it to https://www.website.com/portal
I have no idea why this worked, but for some reason it was getting hung up on that page. It works fine now on any page, except for the original one I had the error with the first time.