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

Unprocessable Entity #129

Closed
ramirezj opened this issue May 8, 2024 · 1 comment · Fixed by #132
Closed

Unprocessable Entity #129

ramirezj opened this issue May 8, 2024 · 1 comment · Fixed by #132
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ramirezj
Copy link
Member

ramirezj commented May 8, 2024

Describe the bug
Reported via MacAdmins Slack, running the following query with a Kolide Device Trust API key returned an error response:

select * from kolide_person_open_issue;

Error reported:

Error: kolide: failed to retrieve collection at /people/{resourceId}/open_issues with response: "Kolide K2 API Error: 422 Unprocessable entity" (SQLSTATE HV000)

Steampipe version (steampipe -v)
v0.22.2

Plugin version (steampipe plugin list)
v0.3.0

To reproduce
Run the query provided

Expected behavior
Successful execution and return of reasonable results

Additional context
All other endpoints contain the field being filtered on, but this does not return a person_id

@ramirezj ramirezj added the bug Something isn't working label May 8, 2024
@ramirezj ramirezj self-assigned this May 8, 2024
@ramirezj
Copy link
Member Author

ramirezj commented May 8, 2024

Able to reproduce (missed in testing for v0.3.0), but wrangling Golang / Steampipe to insert a "constant" runtime value in the response

@ramirezj ramirezj added the help wanted Extra attention is needed label May 8, 2024
@ramirezj ramirezj added this to the Release v0.4.0 milestone May 8, 2024
ramirezj added a commit that referenced this issue May 8, 2024
@coderabbitai coderabbitai bot mentioned this issue Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant