Hello,
When I’m trying to create a new credential for ServiceNow using Basic Authentication, I get the following message: Unathorized
I tried with a couple of valid accounts. They work fine in Postman using the same authentication method.
I noticed the same issue on my local instance and n8n Cloud.
What is the error message (if any)?
Unauthorized
Please share your workflow
There is no workflow yet. This is related to credentials.
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
I’m afraid my API account (not the admin one) only has access to the incident table I was going to read.
Is it possible to skip the sys_user_role verification on the Basic Auth or replace it with another table (e.g. incident)?
I have the same issue, a locked down set of credentials that fails the check but still works when using the correct tables. You can safely ignore the check.
I tried to update the credentials check but unfortunately there’s just no generic SNow endpoint that any/all users/credentials can hit. Usually most APIs will have a /me or /user endpoint.
Thanks! I initially avoided trying it due to the error on the credentials page, but it turns out that it still functions properly as long as the account has access to the table being queried.