Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2659

Unable to access Ops manager using pubic API

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Declined
    • Affects Version/s: None
    • Fix Version/s: No version
    • Component/s: None
    • Labels:
      None

      Description

      Hello,

      I am trying to connect ops manager using public API for the first time and getting below error. Please help me to fix this issue.

      curl --user '{XXX}:{XXX}' --digest --header 'Accept: application/json' --include --request GET ":/api/public/v1.0/groups?pretty=true"

      Content-Type: application/json
      Content-Length: 106

      { "reason" : "Unauthorized", "error" : 401, "detail" : "You are not authorized for this resource." }

      Thanks!!

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            gauravtanejamca@gmail.com Gaurav Taneja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: