Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating SQL database with webservice. Exception: The remote server returned an error: (400) Bad Request. #76

Open
nekumsft opened this issue Mar 18, 2022 · 1 comment

Comments

@nekumsft
Copy link

Hi I am new to the github, trying to implement the ConfigMgrClientHealth solution in my lab environment but getting the below error:

Updating SQL database with results using webservice
Error Invoking RestMethod POST on URI http://xxx-xxx01.xxxxxxxxxxx.com/ConfigMgrClientHealth/Clients. Failed to update d
atabase using webservice. Exception: The remote server returned an error: (400) Bad Request.
PS C:> $PSVersionTable

Name Value


PSVersion 5.1.14409.1005
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14409.1005
CLRVersion 4.0.30319.34209
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Hoping to get some help... :)

@NoDowt
Copy link

NoDowt commented Nov 1, 2023

@nekumsft Did you find a solution to this? I'm getting the same thing now...

Might have found something... I'd put in some changes to the script to check for free space in GB, rather than %... guessing the web service doesn't like it... its working fine using the default script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants