Getting Error:- HTTP Status 403 - Expected CSRF token not found. Has your session expired?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 04:56 AM
Hello,
I am doing an integration where i need to send some information from service now instance to customer instance for that i am using REST API,
and put method.
When I testing the method i am getting an error with 403 HttpStatus code and this error is Expected CSRF token not found. Has your session is expired.
I not able to understand this is Service now side error or customer side error.
Please suggest me if you have any solution for this or if you have any idea from where this CSRF token coming from?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 04:59 AM
Hi Vijay,
Sounds like you need to set up the proper cross site REST functionality. You can read more here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 05:21 AM
Hi Chuck,
Thanks for your suggestion, I have checked the CORS functionality there is no CORS rule available as of now,
and i also want to know does it make sense if i create new CORS rule in multi tenant instance, and how it is related to 403 CSRF token error

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 05:29 AM
Unfortunately I don't have answers for those. My knowledge of CORS and cross site integrations like this is limited at this point. If nobody else has an answer, reach out to support.
HI Service Portal - ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-14-2016 05:35 AM
Thank you very much Chuck for your suggestion.