I am trying to make a website that makes a fetch to an API endpoint. The origin of the website is whitelisted but for some reason when doing the fetch I get an error which state