Skip to content
Back

Appwrite Deploy Collection stuck at creating datetime attribute

  • 1
  • Databases
FUZZY
14 Feb, 2023, 02:58

Has anyone encountered this issue? appwrite deploy collection stuck every time at creating a datetime attribute. I went to console and every other attribute was created so I believe it has something to do with datetime. I followed the example here. https://appwrite.io/docs/models/attributeDatetime.

TypeScript
// my config
{
  "key": "onSaleDateTime",
  "type": "2020-10-15T06:38:00.000+00:00",
  "status": "available",
  "required": true,
  "array": false,
  "format": "datetime",
  "default": "2020-10-15T06:38:00.000+00:00"
}

// Error message I got
Attribute creation did not finish for too long
TL;DR
Appwrite Deploy Collection is getting stuck at creating a datetime attribute. Other attributes are being created successfully. The issue seems to be related to the datetime attribute. The user followed the example in the Appwrite documentation but encountered an error message stating "Attribute creation did not finish for too long." Solution: It is suggested to double-check the syntax and format of the datetime attribute. Other users recommend using "datetime" as the type instead of the specific datetime format provided in the example.
Drake
14 Feb, 2023, 03:02

Hmm...that type seems odd...

Drake
14 Feb, 2023, 03:07

Would you please try putting datetime for the type?

FUZZY
14 Feb, 2023, 05:51

It worked, thanks!

Drake
14 Feb, 2023, 05:52

Awesome! Would you be able to create an issue? It looks like the type in the docs you shared is incorrect

Eldad
14 Feb, 2023, 10:31

cc @VincentGe

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