Getting CORS error while accessing / fetching data from ServiceNow Table API's to React application
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-27-2022 11:48 AM
Getting error while accessing ServiceNow Table API's on react
Access to fetch at 'http://devXXXXXX.service-now.com/api/now/table/x_671826_t1ss_expenses' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
please help
Thanks and Regards
Pradeep Sharma
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
â06-27-2022 08:29 PM
Hi,
Please refer this article which might be helpful for you.
https://community.servicenow.com/community?id=community_question&sys_id=acfe826a1b0d48d4fff162c4bd4bcbe7