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

Update-ChocolateyApps Error reading apps: Exception calling "Substring" with "2" argument(s): "Length cannot be less than zero. #81

Open
JamesHeathcote opened this issue Jul 19, 2024 · 4 comments

Comments

@JamesHeathcote
Copy link

Multiple devices are displaying the following in PreRemediationDetectionScriptError

C:\WINDOWS\IMECache\HealthScripts\344df8ae-cb9b-466b-bfe3-088003882b53_2\detect.ps1 : Error reading apps: Exception
calling "Substring" with "2" argument(s): "Length cannot be less than zero.
Parameter name: length"

The DetectionScriptStatus returns Without Issues and RemediationScriptStatus Not run

@adamgell
Copy link
Contributor

adamgell commented Aug 7, 2024

Hey @JamesHeathcote What script was this? Happy to look and see if I can fix it for you.

@JamesHeathcote
Copy link
Author

JamesHeathcote commented Aug 7, 2024 via email

@adamgell
Copy link
Contributor

adamgell commented Aug 7, 2024

Yea post the log. I wonder if your IP is hitting the rate limit with Chocolatey,

@JamesHeathcote
Copy link
Author

JamesHeathcote commented Aug 7, 2024 via email

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