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
09-21-2022 02:05 PM
Did you find any solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2019 01:53 PM
Does the user have the permissions to edit?