Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Getting CORS error while accessing / fetching data from ServiceNow Table API's to React application

pradeep37
Tera Contributor

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

Not applicable
Hi, Please refer this article which might be helpful for you. https://community.servicenow.com/community?id=community_question&sys_id=acfe826a1b0d48d4fff162c4bd4bcbe7