"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 06:11 PM
I have the same issue, how did you resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 08:43 PM
Please try by adding "csm_ws_integration" role to the integration local account in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 10:20 PM
Hi Swapna,
It worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2024 10:13 PM
Let's double check the Requires SNC Internal flag in your Scripted REST Resources record.