Getting authentication errors while using Chef API

We are trying to access the Chef API to get the raw data for reporting. We are facing issues in getting pass thru the authentication. Any help would be appreciated


Can you provide the details:

  • what HTTP request you are trying to make
  • what error code/message you are getting in return
  • how are you creating the request
  • anything relevant from the Chef Server logs

It’s worth noting that the reporting API requests must have a
X-Ops-Reporting-Protocol-Version set to 0.1.0.