Access to XMLHttpRequest at 'http://localhost:5005/socket.io/?EIO=3&transport=polling&t=Mt1DGKX' from origin 'null' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values 'null, null', but only one is allowed

i m getting error like this Access to XMLHttpRequest at ‘http://localhost:5005/socket.io/?EIO=3&transport=polling&t=Mt1DGKX’ from origin ‘null’ has been blocked by CORS policy: The ‘Access-Control-Allow-Origin’ header contains multiple values ‘null, null’, but only one is allowed.

im using rasa run -m models --enable-api --cors “*” command ro run can anybody please help

I think normally CORS headers aren’t required when accessing through localhost. But I could be mistaken (to tired to double check that now). But can you check which double quote characters you are using. It seems you are using the fancy ones from Word. Best to use the normal " ones when typing code.

I checked that I’m using the normal ones only but couldn’t resolve error. Can you suggest any other solution to solve this error.