Question
CORS error : ThingWorx 9.1.0
- December 9, 2021
- 2 replies
- 1486 views
I have followed CS229450 and changed web.xml file and restarted the tomcat service. (cleared tomcat cache)
But still CORS error exists
Error :
Access to fetch at 'http://xxxxxxx/Thingworx/Things/xxx/Services/xxx' from origin 'null' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I have attached web.xml file.
Please provide solution for this issue.
Thank you!

