Troubleshooting

Search returns no issues

Relax one filter at a time and verify exact repository metadata.

Swipe wide tables and code examples sideways to see the full content.

Swipe wide tables and code examples sideways to see the full content.

An empty issues list with returned_count: 0 and truncated: false is a successful search. Do not report it as an outage or conclude that no work remains in the repository.

Check the repository first

Use the exact owner/repository string and the credential intended for it. Issue numbers and metadata belong to a repository; a similarly named repository can contain a completely different issue set. Access errors should be handled before interpreting empty results.

Relax one filter at a time

search_issues({ repo: "acme/sdk", state: "all", limit: 20 })

Begin without label or milestone. If results appear, add the desired state, then label, then milestone. All filters are combined, so adding a filter can only keep or reduce matching records in this contract.

Discover exact names

list_labels({ repo: "acme/sdk", limit: 50 })
list_milestones({ repo: "acme/sdk", state: "all", limit: 50 })

Copy label names and milestone titles from the response. Unknown names yield an empty search; they are not automatically validation errors. A null milestone means an issue is not assigned to one, which is different from a milestone literally named “null.”

State and limits

The default state is open. Use closed or all deliberately. Raising a limit cannot fix zero matches; it only changes how many matching records are returned. Check truncated when a nonempty response appears.

Fixture versus live data

The template fixture contains seven open bugs and four in v2.0. A live repository may have changed. Verify the inputs and data before treating a different count as a server defect. Capture sanitized arguments and the result flags when reporting a reproducible mismatch.

search_issues reference

Create a free website with Framer, the website builder loved by startups, designers and agencies.