# Cors error.. Openvidu v3

**URL:** <https://openvidu.discourse.group/t/cors-error-openvidu-v3/5200>\
**Category:** Issues with deployments\
**Created:** [September 30, 2024, 7:05am UTC](https://openvidu.discourse.group/t/cors-error-openvidu-v3/5200 "2024-09-30T07:05:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Sushkov](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/ivan_sushkov/32/2502_2.png) [@Ivan\_Sushkov](https://openvidu.discourse.group/u/Ivan_Sushkov)\
**Post date:** [September 30, 2024, 7:05am UTC](https://openvidu.discourse.group/t/cors-error-openvidu-v3/5200/1 "2024-09-30T07:05:43Z")

</div>

Hello. Tell me how can I solve this problem? What settings should I fix?

Access to fetch at ‘[https://openvidu.domen.com/rtc/validate?access\_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlzcyI6IkFQSUVLM3lXclVrVjlyWCIsIm5hbWUiOiJhZG1pbiIsInZpZGVvIjp7InJvb21Kb2luIjp0cnVlLCJyb29tIjoi0KTQmNCeMSJ9LCJleHAiOjE3Mjc3MDEwNjYsImp0aSI6ImFkbWluIn0.iYVB12rlpFqm9vhEyxCtH0yIfAFEy9lVKCLMIi6aG9w&auto\_subscribe=1&sdk=js&version=2.5.1&protocol=15](https://openvidu.domen.com/rtc/validate?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiIsImlzcyI6IkFQSUVLM3lXclVrVjlyWCIsIm5hbWUiOiJhZG1pbiIsInZpZGVvIjp7InJvb21Kb2luIjp0cnVlLCJyb29tIjoi0KTQmNCeMSJ9LCJleHAiOjE3Mjc3MDEwNjYsImp0aSI6ImFkbWluIn0.iYVB12rlpFqm9vhEyxCtH0yIfAFEy9lVKCLMIi6aG9w&auto_subscribe=1&sdk=js&version=2.5.1&protocol=15)’ from origin ‘[https://ws.styx.domen.com](https://ws.styx.domen.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.

version: 3.0.0-beta2  
edition: community  
deploymentType: single-node  
env: on\_premise

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [October 7, 2024, 3:20pm UTC](https://openvidu.discourse.group/t/cors-error-openvidu-v3/5200/2 "2024-10-07T15:20:07Z")

</div>

Is this error preventing you to access the session?

---

<div class="post-metadata">

**Author:** ![cruizba](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/cruizba/32/18_2.png) [@cruizba](https://openvidu.discourse.group/u/cruizba)\
**Post date:** [October 7, 2024, 3:31pm UTC](https://openvidu.discourse.group/t/cors-error-openvidu-v3/5200/3 "2024-10-07T15:31:21Z")

</div>

Take a look to this. I see people with the wrong secret for LiveKit have CORS errors:

> [@Nginx customization in openvidu v3](https://openvidu.discourse.group/t/nginx-customization-in-openvidu-v3/5173/2):
>
> Turns out the CORS error was misleading. The connection was failing because I was using the wrong api key on the server side, and the browser was just interpreting it as a CORS error. My issue is resolved, but I’m leaving this post up since the question regarding nginx customization is still valid
