Invoke-RESTMethod
Just updated to NetBox 2.7.3 and running SyncNetbox.ps1 for the first time.
Invoke-RESTMethod : {"interface":["Related objects must be referenced by numeric ID or by dictionary of attributes. Received an unrecognized value: "],"description":["This field may not be null."]} At C:\Users\otrist\Documents\Sync-Netbox.ps1:546 char:45
- ... $Response = Invoke-RESTMethod -Method POST -Headers $Headers -Content ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~- CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
- FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand