401 - Invalid username/password combo.

basantsoni
Kilo Guru

Hello Friends,

I created one scripted web services with 2 parameters to create an incident in our demo instance but when we are trying to consume that WSDL in Outbound web services. System is throwing error:

Method failed: (/x_58872_needit_CreateIncidentBasnat.do) with code: 401 - Invalid username/password combo.12.PNG

Please help me on this.

1 ACCEPTED SOLUTION

terrywang
ServiceNow Employee
ServiceNow Employee

Please refer to below KB:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0725785

 

Please let us know if the KB resolves the issue.

 

Thanks

View solution in original post

4 REPLIES 4

Dave Smith1
ServiceNow Employee
ServiceNow Employee

Surely the error message should be an indication:


401 - Invalid username/password combo.


Have you verified the credentials for your profile are correct?


tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Basant,


In addition to reviewing the username and password you should perhaps check the   roles that the user has.



The user wil need SOAP roles so as to use SOAP.


Also needs the roles to create an incidnet record - you could log in as the specified user interactively and check there is a New button on the incidnet form


https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/inbound_soap/reference/...


To use SOAP web services, you must have the appropriate role for the operation you want to perform.


Additionally, you must have any other roles required to access the target tables.



https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/integrate/inbound_soap/reference/...



If the reply was informational, please like, mark as helpful or mark as correct!


terrywang
ServiceNow Employee
ServiceNow Employee

Please refer to below KB:

https://hi.service-now.com/kb_view.do?sysparm_article=KB0725785

 

Please let us know if the KB resolves the issue.

 

Thanks

Hi @terrywang 

I am getting the same issue and on referring the KB article , I am not getting solution as the roles mentioned in KB article are not present in ServiceNow. Can you please suggest what should I do as I am making a Rest API call from Servicenow via mid server and getting this Invalid username/password combo.