REST API User Not Authenticated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2016 07:50 AM
I'm trying to create records in an import set via REST API. I have the REST API using the Import Set API name. https://instance.service-now.com/api/now/import/u_test. I have created the security rule for "create" and added the rest service role to this table. I have created a new user called restapiuser and checked the "Web access service only" and added the "rest service" role. I'm using Postman to send REST API request. When I use admin it works but when I use restapiuser I get not authenticated. I seems like it doesn't have access to the table. Is there any other ACLs that need to be set so restapiuser to write records to the u_test import table?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2016 08:09 PM
Hi Thomas,
I am facing the same issue. Could you please help me to resolve this.
Thanks!
'Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2017 11:25 AM
- You will need to create a local user account in service now user table and pass it from the rest API explorer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2017 10:37 PM
In my case, I am trying to write a Python program to get some incident records from ServiceNow. I followed the sample code here: Table API Python examples (under GET example), and I keep getting this error. When I tried it in Postman, everything works fine. I have a local account in ServiceNow. Please let me know what I have done wrong. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2017 10:44 AM
I'm facing the same problem!!!! I have tried everything and I know I'm setting the authorization headers!!!
HTTP/1.1 401 Unauthorized
{"error":{"detail":"Required to provide Auth information","message":"User Not Authenticated"},"status":"failure"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2017 01:36 PM