Getting error: "Only interactive users are allowed to access UI" while logging in to my PDI

Mayank Das3
Tera Contributor

Every time I am trying to log in to my PDI, I am getting the following error: "Only interactive users are allowed to access UI".

Tried to fetch the sys ID for my user record and update web_service_access_only to false using REST API GET and PATCH. But still unable to login.

Please help. Screenshot below.

 

MayankDas3_0-1671525321726.png

 

1 REPLY 1

Yerapothini Rak
ServiceNow Employee
ServiceNow Employee

Hi @Mayank Das3 

 

You can execute the rest api call using Postman if they do not have the second instance. 

Below is the code snippet for postman:-

Method:- PATCH
URl will be:- https://your-instance.service-now.com/api/now/table/sys_user/6816f79cc0a8016401k5a33be04be440

Headers:-Accept: application/json
Content-Type: application/json

Authorization: Basic (give username as "admin" and admin user password)

Body:- {"web_service_access_only":"false"}

 

Feel free to reply here, if you have any queries.


If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

Thanks