Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OMC QUICK TIP: Windows CURL giving Unauthorized 401 error calling webservices?

edited Oct 12, 2018 3:58PM in Observability & Management

Content

Problem

You are trying to call a webservice in OMC using Windows version of curl and you are getting an error similar to the following:

< HTTP/1.1 401 Authorization Required
< Date: Thu, 11 Oct 2018 05:41:13 GMT
< X-Frame-Options: SAMEORIGIN
* Authentication problem. Ignoring this.
< Content-Type: text/html; charset=iso-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>You are not authorized to access the requested resource.  Check the supplied credentials (e.g., username and password).</p>
</body></html>

Possible Solution

1) Verify that your username and password are correct.

2) Make sure you are using

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!