Getting an "Access-Control-Allow-Origin" error

Hey, I’m getting an error when I’m accessing the frappecloud from a netlify deployed website. I’m able to make API calls but at some cases, this error is being shown in the console log. Is there any way to fix this?

This is the error from the console log:

Access to XMLHttpRequest at ‘https://rawscholar1.frappe.cloud/socket.io/?EIO=4&transport=polling&t=P2s8haE’ from origin ‘https://rawscholar-development.netlify.app’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header has a value ‘https://rawscholar1.frappe.cloud’ that is not equal to the supplied origin.

Hope to hear from someone. Thanks in advance