Skip to content

If authentication token for sysdig provider is expired, the error message is unclear #617

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

Open
duncan485 opened this issue Mar 24, 2025 · 0 comments

Comments

@duncan485
Copy link

When the authentication token for the provider is expired, it returns a vague error: Error: invalid character 'u' looking for beginning of value.

What would I expect?
If the provider can't authenticate, I'd expect the provider to throw an authentication failed error.

What happened?
When provided with expired/invalid credentials, the provider returns a vague error: Error: invalid character 'u' looking for beginning of value

How to reproduce

  • For example, create sysdig_secure_posture_zone resource with a valid authentication token in place
  • Invalidate the token
  • Run a plan
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