I am trying to view the Chat Completions usage with my API key, but I am getting a CORS error when I open the page.
Access to fetch at 'https://api.openai.com/v1/inquiries' from origin 'https://platform.openai.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Tried many times, hard refresh, clean all cookies, local storage. And nothing, sadly…
Just tried on Safari, that I’ve never used to access OpenAI Platform, same error.
[Error] Preflight response is not successful. Status code: 503
[Error] Fetch API cannot load https://api.openai.com/v1/inquiries due to access control checks.
[Error] Failed to load resource: Preflight response is not successful. Status code: 503 (inquiries, line 0)
I have just disabled the cross-origin restrictions on Safari. There are no more CORS complaints, but the server is returning a 503 status for the /v1/inquiries endpoint.