No more header “Access-Control-Allow-Origin” in REST API response (Xanadu release)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2024 04:41 AM
Hello,
It seems ServiceNow changed how REST CORS rules are defined in Xanadu release and now it does not work anymore !!!
I tried to define the rule with the new definition but it still does not work…. The response from ServiceNow does not include the header “Access-Control-Allow-Origin” …. and the request is refused.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0831585
https://www.servicenow.com/docs/bundle/xanadu-api-reference/page/integrate/inbound-rest/task/t_Defin...
I did the test in Washington DC release and everything works as expected (same code) but no more in Xanadu !!!
Is it a known issue ?
Washington DC
Build date: 09-27-2024_0148
Build tag: glide-washingtondc-12-20-2023__patch8-09-19-2024
Instance name: dev257505
Xanadu
Build date: 11-01-2024_2230
Build tag: glide-xanadu-07-02-2024__patch3-10-23-2024
Instance name: dev290699
Can you help me ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2024 03:59 AM
I reply to myself.
It's ok with Xanadu if you extend the config