401 error.on every request even when requesting models using basic example and hard coding api key

With the same settings … I had everything working perfect… now I am getting a 401 error on every request… not sure how to fix this… I am using javascript and svelte.