Back

[SOLVED] Attribute Not Found

  • 0
  • Self Hosted
  • Databases
{N} Nicco
9 Jul, 2023, 16:03

I try to get it to save data but for some reason it's saying that the "attribute error is not found" when it's already created.

TL;DR
The user had an issue with an attribute not being found. They discovered that the attribute and index creation was asynchronous, so they put their code in a setTimeout function to allow the attribute to be created before being accessed. The issue has been resolved.
{N} Nicco
9 Jul, 2023, 16:09

fixed it

{N} Nicco
9 Jul, 2023, 16:09

I put the code in a setTimeout function.

{N} Nicco
9 Jul, 2023, 16:09

[SOLVED] Attribute Not Found

Drake
9 Jul, 2023, 19:44

Fyi, the reason why is attribute and index creation is asynchronous so it's not created right away.

{N} Nicco
9 Jul, 2023, 23:16

got it.

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