itglue / powershellwrapper

This PowerShell module acts as a wrapper for the IT Glue API.
Apache License 2.0
120 stars 51 forks source link

I am getting errors while running the IT-Glue Automatic Documentation - BitLocker keys [WIN] on a user's workstation. #140

Closed chanchahal closed 2 years ago

chanchahal commented 2 years ago

This is the errors i am getting. Can anyone please me to troubleshot it or just let me know what i am doing wrong. Thanks.

IT-Glue Automatic Documentation - BitLocker keys [WIN]

ITGlueAPI Module configuration loaded successfully from C:\WINDOWS\system32\config\systemprofile\ITGlueAPI\config.psd1! Creating new Bitlocker Password

Get-ITGlueConfigurations : The page you were looking for doesn't exist (404)

* {
  box-sizing: border-box;
}
body {
  background-color: #fff;
  color: #2E2F30;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  line-height: 150%;
  margin: 0
}
nav {
  background: #222222;
  text-align: left;
  height: 50px;
}
nav img {
  height: 40px;
  padding: 12px 0 0 10px;
}
.container {
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;
  padding: 30px;
}
.left {
  width: 40%;
  float: left;
  text-align: left;
  padding-top: 70px;
}
.right {
  width: 58%;
  float: right;
  padding-top: 40px;
}
h1, h2, h4 {
  font-weight: bold;
  color: #88ACB4;
  line-height: 130%;
  margin-bottom: 0;
}
h1 {
  font-size: 5rem;
}
h2 {
  font-size: 2rem;
}
h4 {
  font-size: 1.3rem;
}
a {
  color: #88ACB4;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .left, .right {
    width: 100%;
    float: none;
    text-align: center;
    padding-top: 0;
    clear: both;
  }
  .container {
    padding: 0;
  }
}

  Oops!
  We can't seem to find the page you're looking for
  Error Code: 404
  What happens next?  You can try heading back or you can contact support for assistance.

At C:\ProgramData\CentraStage\Packages\45basjd54d5asda5s4d6asds#\command.ps1:21 char:20

ConvertTo-Json : Cannot validate argument on parameter 'Depth'. The argument is null, empty, or an element of the argument collection contains a null value. Supply a collection that does not contain any null values and then try the command again. At C:\Program Files\WindowsPowerShell\Modules\ITGlueAPI\2.1.0\Resources\Passwords.ps1:25 char:54

New-ITGluePasswords : The page you were looking for doesn't exist (404)

* {
  box-sizing: border-box;
}
body {
  background-color: #fff;
  color: #2E2F30;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  line-height: 150%;
  margin: 0
}
nav {
  background: #222222;
  text-align: left;
  height: 50px;
}
nav img {
  height: 40px;
  padding: 12px 0 0 10px;
}
.container {
  width: 100%;
  max-width: 1028px;
  margin: 0 auto;
  padding: 30px;
}
.left {
  width: 40%;
  float: left;
  text-align: left;
  padding-top: 70px;
}
.right {
  width: 58%;
  float: right;
  padding-top: 40px;
}
h1, h2, h4 {
  font-weight: bold;
  color: #88ACB4;
  line-height: 130%;
  margin-bottom: 0;
}
h1 {
  font-size: 5rem;
}
h2 {
  font-size: 2rem;
}
h4 {
  font-size: 1.3rem;
}
a {
  color: #88ACB4;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .left, .right {
    width: 100%;
    float: none;
    text-align: center;
    padding-top: 0;
    clear: both;
  }
  .container {
    padding: 0;
  }
}

  Oops!
  We can't seem to find the page you're looking for
  Error Code: 404
  What happens next?  You can try heading back or you can contact support for assistance.

At C:\ProgramData\CentraStage\Packages45basjd54d5asda5s4d6asds#\command.ps1:55 char:27