AndrewPla / TOPdeskPS

PowerShell module to interact with the TOPdesk API
MIT License
30 stars 12 forks source link

The field 'budgetHolder' does not exist? #86

Closed whatthehomepod closed 5 years ago

whatthehomepod commented 5 years ago

Prerequisites

Put an X between the brackets on each line to confirm you have completed them:

Describe the bug

Invoke-RestMethod : [{"message":"The field 'budgetHolder' does not exist."}]
At line:76 char:9
+         Invoke-RestMethod @Params
+         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

To Reproduce n/a

Expected behavior n/a

Screenshots or Transcripts n/a

System Details

Additional context n/a

whatthehomepod commented 5 years ago

However, when I use Get-TdBudgetHolder an ID is getting returned.

whatthehomepod commented 5 years ago

Disabled the budgetHolder requirement field.