403 - Forbidden username/password combo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 02:39 AM
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 03:22 AM
Hi Lucian,
Usually an HTTP 403 indicates that user is forbidden rights to the resource on the webserver.
Now, as far as I know for example Apache web server can return HTTP 403 if directory listing is disabled.
Are you sure user rights are ok on the web server?
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 05:11 AM
Hi Sergiu and thanks for replying.
I think the user's rights are ok on the web server, since I was able to retrieve the data using Postman.
In Postman I've only provided the Basic Authentication credentials and it worked. So I'm assuming the web server's configuration is ok.
Lucian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 05:46 AM
Hi Lucian,
I had a quick look on an out of box instance on Eureka ( glide-eureka-04-08-2014__patch12-hotfix2-10-06-2015) and I can't seem to find the "Parameters" field you have in your screen shot.
Is that out of box on your instance and if yes, which release of eureka are you using?
Regards,
Sergiu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2016 07:49 AM
Hi Sergiu,
More details on the version:
Build name: HEAD (Eureka)
Build date: 07-22-2015_1657
Build tag: glide-eureka-04-08-2014__patch11-hotfix2-07-08-2015
Thanks.
Lucian