Skip to Content
0
Former Member
Aug 03, 2016 at 03:58 PM

unable to post sample data to data hub getting 401 unauthorized

975 Views

Hi Team, i am working on setting up data hub with hybris 6.0 version.i checked the status of data hub through the following url http://localhost:8282/datahub-webapp/v1/status it is showing as RUNNING. but i am trying to post some data to following url http://localhost:8282/datahub-webapp/v1/data-feeds/DEFAULT_FEED/items/RawProduct giving me as below error

 <head>
     <title>Apache Tomcat/7.0.68 - Error report</title>
     <style>
         <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}-->
     </style>
 </head>
 <body>
     <h1>HTTP Status 401 - Bad credentials</h1>
     <HR size="1" noshade="noshade">
     <p>
         <b>type</b> Status report
     </p>
     <p>
         <b>message</b>
         <u>Bad credentials</u>
     </p>
     <p>
         <b>description</b>
         <u>This request requires HTTP authentication.</u>
     </p>
     <HR size="1" noshade="noshade">
     <h3>Apache Tomcat/7.0.68</h3>
 </body>


and status is 401 Unauthorized.please help on this any credentials we need to set for this.

and i followed this link https://help.hybris.com/6.0.0/hcd/8dba70ee01da42d29586c5610a37014a.html for setting up credentials but still above error only i am getting.