Issue in REST Integration - "Function log is not allowed in scope"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:33 AM
Hello,
I am trying to integrate SN1 to SN2 using REST and when I create an Incident I am getting the response as below.
"Function log is not allowed in scope. Use gs.debug() or gs.info() instead"
Can someone help me on this issue please?
Thanks,
Sunil
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:37 AM
Check in the scripts you have utilized for this integration, if you have added any logs replace gs.log with gs.debug or gs.info().
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:52 AM
Hello,
Thanks for your response. I have checked my script and I do not see an gs.log statement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:38 AM
looks like you have gs.log in your script somewhere.
please replace gs.log with gs.debug() or gs.info()
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2019 11:52 AM
Hello,
Thanks for your response. I have checked my script and I do not see an gs.log statement.