Hello, I am scripting my setup of DB, collections, and indices. Running into error of
Plain text
message: "Attribute not available: attribute_name",
code: 400..
I believe this is due to the fact that the status is still processing while trying to create an indices. I am awaiting this request to it's obvious that the creation is happening async in the background. Trying to find the best way to mitigate this? Any solutions?
Summary
The user is encountering an error while scripting the setup of their database, collections, and indices. The error message indicates that the attribute they are trying to create is not available. They suspect that this is due to the status of the process still being "Processing" while trying to create the indices. They are seeking a solution to mitigate this issue.
Solution: The user finds that changing the indices to be created after the database and collection solves the problem.
Binyamin
Rank 7: Quantum Computer
Mar 28, 2023, 17:32
The creation process is being made by the database-worker I don't think there is anyway to make it faster
It usually takes just a few seconds but otherwise its seems like there is a waiting time 😦
TernaryBash
Rank 1: Thread
Mar 28, 2023, 17:47
Ah ok, I'll just change my indices to be created post database and collection then. Thank you! [SOLVED]
joeyouss
Mar 28, 2023, 17:50
[SOLVED] Status: "Processing" from createIntegerAttribute response SDK: Deno