Upload file to store 404 error

I’m receiving this error when uploading a file into a search store:

{
“error”: {
“code”: 404,
“message”: “Requested entity was not found.”,
“status”: “NOT_FOUND”
}
}

Steps to reproduce it:

  1. create search stores POST “…v1beta/fileSearchStores” → 200
  2. check creation → GET “..v1beta/fileSearchStores/{fileSearchStoreId}” → 200
  3. upload file to store → POST “..upload/v1beta/fileSearchStores/{storeId}:uploadToFileSearchStore” → 404

If I keep trying, maybe after 2 minutes of the store creation, the upload starts working fine.
This started happening 2 days ago.

EDIT: I think this was an error that only occurred when we created a store and immediately after uploaded a file. But now it is also happening with stores created in the past few days, or weeks

Seeing the exact same thing since 2 - 3 days: 404 NOT_FOUND / "Requested entity was not found" writing to a freshly-created File Search Store, while GET fileSearchStores/{id} returns the store fine.

A couple observations so far:

  • It seems to happen per individual upload, so not a general store warm up problem
  • Also affects the import from Files-API, which I tried as workaround. The upload works fine, but the import gets the same 404
  • Also reproduced it in a separate account

For now I am extending our retry logic, as it often works eventually. But everything got very slow in general.