CORS Policy Issue when Accessing Facebook Customer Chat Plugin
17

We have integrated the Facebook Customer Chat Plugin into our website to enhance user interaction and support. However, we are encountering a CORS (Cross-Origin Resource Sharing) policy issue when attempting to access the plugin's resources. Despite my domains being added to the whitelist. Can anyone please provide instructions on how to fix this situation?

Error Details: Upon inspecting the browser console, we have identified the following errors:

Access to XMLHttpRequest at 'https://www.facebook.com/plugins/customer_chat/SDK/...' from origin 'https://aurorasaigon.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

www.facebook.com/plugins/customer_chat/SDK/...:1 Failed to load resource: net::ERR_FAILED Access to XMLHttpRequest at 'https://www.facebook.com/plugins/customer_chat/SDK/...' from origin 'https://aurorasaigon.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Thanks

Trà
Asked about 9 months ago
劉曜賢

I have the same issue, I have checked your site, it seems resolved now, how did you solve it?

August 24 at 8:56 PM
Trà

We do not use the Messenger Plugin anymore for our website.

August 24 at 9:26 PM
Trà

But I want to find a solution for later.

August 24 at 9:28 PM
Peter

any updates on this?

August 28 at 2:37 AM
Eugene

have the same error in web console. any updates available now?

August 29 at 9:51 PM
Dat

im facing the same thing, the chat plugin is working, but having some CORS errors logged in devtools console

September 1 at 6:55 AM
Andrea

I have the same problem!

October 2 at 2:51 PM
Ibrahim

I am also having the same issue.

October 5 at 3:34 AM
Timmy

Yep I have the same problem, it's good to know it's not our implementation and this is a Facebook issue. How can we make them aware if they don't check this?

October 6 at 4:37 AM
Michael

Same Issue

October 21 at 10:25 AM
Marek

yep, the same

January 7 at 12:48 AM
Selected Answer
1

Hi Адриан, Could you pls give me the docs or the sources of that infor?

March 1 at 4:04 AM
Trà
Selected Answer
2

So, this brings down page performance metrics and Google's score for our website. It's problematic. I haven't found an asnwer yet, and I have confirmed my domains are present in the whitelist.

November 28 at 12:55 PM
William
Maciej

Same here

December 1 at 2:09 AM
2

Same errors. Please fix it !

February 5 at 12:52 PM
Paweł
2

I have the same problem!

February 14 at 2:10 PM
Fill
2

Same

February 29 at 4:56 AM
Адриан
2

Same problem

March 1 at 1:49 AM
Ricardo
3

I still have the same issue/error!

October 26 at 6:43 AM
Pierre
3

It turns out that the Messenger plugin will be soon disabled by Meta and it's better to be removed from the website after all.

March 1 at 3:40 AM
Адриан
4

Someone have try to open an issue? I have try and I cannot do that!

October 7 at 4:53 AM
Andrea
5

Is there anyone from the Facebook support team reading this post, or are we alone? We need a solution; this is really a problem.

October 5 at 3:32 AM
Ibrahim
5

Hi, chat plugin works for me, because I have whitelisted the domains I need.

However, I still get following issues, which are problematic because they cause a delay at the chat plugin takes more time to initialise and be ready.

Access to XMLHttpRequest at 'https://www.facebook.com/plugins/customer_chat/SDK ... has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

October 10 at 11:36 AM
Maciej
6

Could someone please bring this matter to the attention of the Facebook team? I'm unable to do so as this issue has been flagged as spam.

September 1 at 7:47 AM
Trà
6

Do the offcial staffs actually check on the forum? It's been a month without any reply

September 22 at 11:26 PM
Boree
6

I have the same problem!

October 2 at 2:48 PM
Andrea
14

Seems like Facebook changed something. It was working for me, from few weeks I see this error in console... The chat is working but I'd like to get rid of that as well. I can't wait until somebody will find a solution.

August 30 at 12:26 PM
Jarosław