"External user not authorized" for Inbound web service

Geoffrey GEMAIN
Tera Contributor

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

7 REPLIES 7

SystemsGo
Tera Contributor

I have the same issue, how did you resolve it?

@SystemsGo 

Please try by adding "csm_ws_integration" role to the integration local account in ServiceNow

Hi Swapna,

 

It worked for me.

Tai Vu
Kilo Patron
Kilo Patron

Hi @Geoffrey GEMAIN 

Let's double check the Requires SNC Internal flag in your Scripted REST Resources record.

 
 
Cheers,
Tai Vu