Code search API returns 0 results with incomplete_results for all repositories in my account #206112
Unanswered
Tomaslopezh23
asked this question in
Apps, API and Webhooks
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
Code search works in the web UI but the REST API /search/code returns {"total_count":0,"incomplete_results":true,"items":[]} for every repository in my account, both public and private.
Tested with curl directly against the API using a classic PAT with full repo scope. Response status is 200, not 422, so authentication and access are fine.
Affected: Tomaslopezh23/Koptiva (private), Tomaslopezh23/Restaurantes (private), Tomaslopezh23/Multiwhatsapp (public). The same query pattern against vercel/next.js returns results normally.
The file package.json is on the default branch (main), is a few KB, and contains the string @supabase/supabase-js. A query for supabase repo:Tomaslopezh23/Koptiva still returns 0. This rules out the default-branch, file-size and search-term limitations of the endpoint.
I already tried new commits and repeated searches to trigger reindexing, with no change. Could someone check whether my account is present in the code search index and reindex it?
All reactions