When passing nested where parameters, or combining them with sorting parameters in REST or Javascript SDK, sometimes an index must be created before the results will be returned to the client. In those events, you will receive the following exception when making the request for the first time:
code: 412,
title: "Index not created",
detail: "We are currently creating an index for the provided query. Please, allow a few minutes before making the same request again."
That means that Deskree will use your request parameters to automatically create the index for the query. This process usually takes 5-10 minutes depending on the data volume and query complexity. After that, you will be able to get the data using the specified query.
Due to GCP limitation, there is a limit of 50 indexes per project
If the index was not created within the given time period, it might be due to the complexity of it, or because the index limit has been reached. In cases like that, contact our support directly and we will be able to assist you.
Copyright © 2023 Deskree Technologies Inc.