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

Windows Event Log flood "Cannot convert the JSON string because it contains keys with different casing" #209

Open
d-v-d-k opened this issue Nov 27, 2024 · 0 comments

Comments

@d-v-d-k
Copy link

d-v-d-k commented Nov 27, 2024

Hundreds of warnings per minute in the Windows Event log "PowerShellCore/Operational":

Error Message = Cannot convert the JSON string because it contains keys with different casing. Please use the -AsHashTable switch instead. The key that was attempted to be added to the existing key 'Text' was 'text'.
Fully Qualified Error ID = KeysWithDifferentCasingInJsonString,Microsoft.PowerShell.Commands.ConvertFromJsonCommand


Context:
        Severity = Warning
        Host Name = Default Host
        Host Version = 7.4.6
        Engine Version = 7.4.6
        Command Name = ConvertFrom-Json
        Command Type = Cmdlet

Just by doing Import-Module OBS-PowerShell
Everything seems to be working though, only warning messages.

@d-v-d-k d-v-d-k changed the title Windows Event "Cannot convert the JSON string because it contains keys with different casing" Windows Event Log flood "Cannot convert the JSON string because it contains keys with different casing" Nov 27, 2024
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

1 participant