Chat.openai.com has been blocked by CORS policy

Works again

2 Likes


https://status.openai.com/

It seems that the issue has been resolved.

1 Like

Hi.
I think I found a solution. After updating Chrome browser, the synchronization turned off. Logging in again with my password solved all the issues. At least work for me

image

+1

I was in the middle of work last night when the issue began - still unresolved

Same happens when Signing in on macOS for activating ChatGPT for Apple Intelligence.

Has anyone asked ChatGPT itself for help? :))

I asked ChatGPT o1. Here is the answer:

The error you’re encountering suggests a CORS (Cross-Origin Resource Sharing) restriction issue. Essentially, the macOS extension is trying to talk to the ChatGPT server from a different origin (the extension’s domain) than the server expects. Because there’s no Access-Control-Allow-Origin header on the server response, your browser blocks the request. Here are some suggestions:

  1. Check Extension Authenticity and Updates

• Make sure you’re using the official ChatGPT Extension for macOS Apple Intelligence (if it is indeed official) or a reputable third-party plugin.

• If it’s a third-party extension, check the developer’s documentation or GitHub page for known issues. You may need an updated version or a patch.

  1. Sign-In Method

• Some extensions struggle with federated logins like “Sign in with Google.” Try using your direct ChatGPT/OpenAI credentials (username and password) instead, if possible.

• If the extension doesn’t allow alternate sign-in methods, check if the dev team has flagged issues specifically around “Sign in with Google.”

  1. Browser vs. Extension

• Even though this is a macOS extension, it sounds like part of its sign-in flow is happening inside your default browser. If you have browser add-ons or privacy settings that block cross-site cookies or referrers, that might trigger CORS errors. Temporarily disable content blockers or use another browser to see if it helps.

  1. Try a Different Network or Device

• Sometimes network-level security or firewalls can strip or block necessary headers. Switch to a different Wi-Fi or hotspot, or see if the error persists on a different Mac. If it works elsewhere, there may be a local network setting causing the issue.

  1. Reach Out to the Extension Developer

• CORS misconfiguration is typically a server-side or extension-side coding problem. The developer needs to add an Access-Control-Allow-Origin header for the extension’s domain, or otherwise handle the sign-in flow differently.

• If the extension is open source, you might find an existing GitHub issue with a workaround or patch.

  1. Use a Standard ChatGPT Client Instead

• If you can’t work around the issue, consider using the native ChatGPT Mac app (if available) or the website directly until the extension’s CORS issue is resolved.

Why this is happening:

When you sign in with Google (federated login), the OAuth flow bounces from auth dot openai dot com to Google’s login page and then back. If the extension is hooking into that flow but hasn’t implemented the correct CORS headers, the request fails because the browser is protecting you from cross-origin requests without explicit permission.

Bottom line: Unfortunately, this isn’t something you can totally fix on your end—other than disabling certain browser protections or using a direct sign-in—because the missing header (Access-Control-Allow-Origin) needs to be provided by the server or properly handled by the extension. If a direct email-and-password login or an updated version of the extension still fails, you’ll need to contact the extension’s developer or wait for an official fix.

I am getting the same error in Firefox. It just works fine on Chrome and Safari

Had this issue come out of nowhere causing CORS errors to flood my console. Troubleshooting for hours with no clues as to why it was occuring. Turns out the AI is expecting a specific URL and it was including www. in the URL causing all these CORS issues to show in my console and breaking the API. So check your URL’s :wink:

Also, check out taggz.art so we can all paint the internet together!