Codebase Not Indexed Error

I am constantly getting nailed with Code not indexed errors, then it has to go through the entire process of indexing my codebase. Does anyone know if this is a bug, or am I not doing something right?

Thanks!

This is a known issue - the indexing service can get overloaded which causes files to need multiple upload attempts before being fully indexed

You can try a few things to help:

  • Add a .cursorignore file to exclude folders you don’t need indexed
  • Keep folders under 10k files when possible
  • Make sure you have stable network access to repo42.cursor.sh

Check out our docs on indexing here: Cursor – Codebase Indexing for more details on how to optimize it

Let me know if you’re still running into issues after trying those steps