Index keeps getting cleared automatically

Hi everyone, I have a problem with an index that gets cleared automatically and I don’t understand how or why. Has this happened to anyone before?

I’m indexing almost 400 documents into it with no problem, I can then send search queries using it for a while, but after a few hours of innactivity, when I come back to search on it, the content is gone.

I’m not actively removing anything, in fact, I don’t have any code to do so anywhere in my system. So what can be happening? Where can I look for a clue as to what might be causing this?


Hello! Do you maybe have an old integration that could be using an API key? You can try to regenerate your API keys and see if this helps.

API Keys

Algolia won’t automatically remove any records by itself, it has to receive a request to do so.