Back

[SOLVED] Status: "Processing" from createIntegerAttribute response SDK: Deno

  • 0
  • Self Hosted
TernaryBash
28 Mar, 2023, 17:29

Hello, I am scripting my setup of DB, collections, and indices. Running into error of

TypeScript
  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?

TL;DR
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
28 Mar, 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
28 Mar, 2023, 17:47

Ah ok, I'll just change my indices to be created post database and collection then. Thank you! [SOLVED]

joeyouss
28 Mar, 2023, 17:50

[SOLVED] Status: "Processing" from createIntegerAttribute response SDK: Deno

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more