{"meta":{"title":"Error: \"is not a .ql file, .qls file, a directory, or a query pack specification\"","intro":"CodeQL was unable to locate one of the queries or sets of queries that are specified for analysis.","product":"Security and code quality","breadcrumbs":[{"href":"/en/code-security","title":"Security and code quality"},{"href":"/en/code-security/reference","title":"Reference"},{"href":"/en/code-security/reference/code-scanning","title":"Code scanning"},{"href":"/en/code-security/reference/code-scanning/troubleshoot-analysis-errors","title":"Troubleshoot analysis errors"},{"href":"/en/code-security/reference/code-scanning/troubleshoot-analysis-errors/not-recognized","title":"Not recognized"}],"documentType":"article"},"body":"# Error: \"is not a .ql file, .qls file, a directory, or a query pack specification\"\n\nCodeQL was unable to locate one of the queries or sets of queries that are specified for analysis.\n\n## About this error\n\n```text\nIs not a .ql file, .qls file, a directory, or a query pack specification.\n```\n\nYou will see this error if CodeQL is unable to find the named query, query suite, or query pack at the location requested in the workflow.\n\n## Confirming the cause of the error\n\nThere are two common reasons for this error:\n\n* There is a typo in the workflow.\n* A resource the workflow refers to by path was renamed, deleted, or moved to a new location.\n\n## Fixing the problem\n\nAfter verifying the location of the resource, you can update the workflow to specify the correct location."}