403 - Forbidden username/password combo

lucian1
Kilo Contributor

Hello,

I am trying to connect with a REST message to an external api which is not hosted by Service Now.

I'm using Basic Authentication and https.

The problem is that when testing this I receive the following message:

403 - Forbidden username/password combo

Capture.PNG

Using POSTMAN, it works well: I receive the status code 200 and the expected data on the response, so I'm inclined to think that I am missing some configuration in Service Now.

Do you have any idea of what could cause the 403 error code and how to fix this?

I am using Eureka.

Thank you.

Lucian

11 REPLIES 11

Fred Jean
Tera Expert

Hello, Did you manage to solve the issue ? I'm facing the same error.


Just realized in my case it was the proxy configured in servicenow which was replying with a 403.


Solved by passing that proxy (see Web Proxy - ServiceNow Wiki )


Not applicable

Hi Lucian,

 

Are you able to fix the issue?

 

Please share your inputs, i am facing the same issue?

 

Regards,

Rahul Jain

lmseco
Mega Expert

The same error happened to me (new york).

I solved the problem creating a REST Header that overrides the default header provided by service now:

  User-Agent: ServiceNow

Check out all the info next:

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

If this information helped, mark it as helpful.  🙂

Regards,

Luis M.

 

Gracias Luis!! That helped me.