"External user not authorized" for Inbound web service
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022 07:10 AM
Hello,
I created an inbound web service to create case.
The user used by the import set API has the role sn_customerservice.customer.
This user is also used by standard api to retrieve the cases he created.
I have associated this role to the user to keep the standard CSM restrictions.
When I execute my API request, I get the error "External User Not Authorized".
I found articles about scripted rest api where it is possible to specify that the snc_internal role is not required, but nothing about standard APIs like the Import Set API.
Have you ever encountered this problem?
Do you have any ideas how to solve it?
Thank you
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 10:21 PM
Hi Timi,
I don't think there's any check box with name "Requires SNC Internal". Is there any screen shot for for this check box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 11:50 PM
Hi @SystemsGo
It's under the Scripted REST Resource [sys_ws_operation] table, not located on the form, and default value is True.
URL: https://<instance_name>.service-now.com/sys_dictionary.do?sys_id=566d27f0e703030084ad47e603f6a97f
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2024 12:20 AM
When I changed Requires SNC Internal to false, the user with snc_external role can execute that Scripted REST API.
Thank you.