REST Message - 401 - Invalid username/password combo

Thiagofmeira
Kilo Guru

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:

find_real_file.png

Thank you

11 REPLIES 11

Did you find any solution for this? 

Mary T
Mega Expert

Does the user have the permissions to edit?