REST Message - 401 - Invalid username/password combo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 08:23 AM
Hi all,
I found many topics about this problem here in the community, but none helps me.
I have to create an integration and the GET, DELETE and POST method works, but when I use the PUT method to edit some users, I get an error. I got to execute the integration in many applications and other systems but only in servicenow it is not working.
I'm getting the following error
Method failed: (/ocs/v1.php/cloud/users/Thiago2) with code: 401 - Invalid user name / password
The user is the same user used on other methods and is working
I've already tried using authentication through a header with a base64 key
I've already passed the parameters directly in the endpoint or in the content field
I've tried different content types
I always get the same error.
Does anyone have a clue about what could be causing the error?
Follow below the form:
Thank you
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 09:04 AM
Try using API Explorer and see if you have the same issue.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 09:31 AM
Hello,
Please refer to below KB:
https://hi.service-now.com/kb_view.do?sysparm_article=KB0725785
Let me know if the KB resolves the issue.
Please Mark Correct/Helpful, if it is helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 09:36 AM
That is weird. I have not encountered anything like this before. Go to node log file browser and check the node logs to see if that gives you any clue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 02:22 PM
Hi Abhinay Erra,
I have found nothing there.
This is really weird. I've tried in other instance and I receive exactly the same error.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2019 02:32 PM
Can you replicate this in your personal developer instance? I can look into it.