Skip to content

[NO_KIND_SPECIFIED] error inspite of specifying @kind for this query #853

Answered by smowton
akanksha1331 asked this question in Q&A
Discussion options

You must be logged in to vote

That seems like a fine column structure for an @kind problem query. How are you trying to run this query that is producing that no-kind-specified error?

Note that @kind like this is only necessary if you want to interpret the query to produce alerts in a format like SARIF. If you just want an arbitrary table, you can omit the @kind, use a command like codeql database run-queries to execute the query, and then a command like codeql bqrs decode to view the "raw" output without needing it to represent an alert or diagnostic or similar.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@akanksha1331
Comment options

Answer selected by akanksha1331
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants