So there has been some discussion before on how the Completion Logs at the Dashboard are blocked because of CORS, see here.
However, this discussion has now been locked, but I have been having the same problem on and off for more than a month now.
It’s always the same:
- “Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.openai.com/v1/dashboard/chat/completions?limit=100. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)“ (Firefox)
- “Failed to load resource: Origin https://platform.openai.com is not allowed by Access-Control-Allow-Origin. Status code: 504“ (Safari)
- “Access to fetch at ‘https://api.openai.com/v1/dashboard/chat/completions?limit=100’ from origin ‘https://platform.openai.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.“ (Chrome)
- “Access to fetch at ‘https://api.openai.com/v1/dashboard/chat/completions?limit=100’ from origin ‘https://platform.openai.com’ has been blocked by CORS policy: 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.“ (Edge)
Note that this works sometimes, but most of the times, I just cannot see my Chat Completions.
I really like the logs feature and it has been quite helpful in debugging in the past, but now I just cannot access it and don’t know when I will be able to again.