I have n numbers of data in appwrite collection. I want to get that data where id is something and createdAt DESC. But I 'm getting error while creating index in it.
you don't need fulltext on $createdAt. There is index by default on all internal attributes. Leave it on "key" and try recreating once?
I thought that was related to yesterday issue 😅
@Khushal@2303 Try this
okay, I'm trying @joeyouss
Getting same error
is it on cloud?
Yes, in cloud
weird, i tried creating it, it is successful for me
Can you DM me your project ID please?
Also, why are you creating a createdAt index? can you tell me your use case of this?
I think I don't need to create index for it. I will work with $createAt. So I will manage it with key $createAt. Thank you @joeyouss for you time.
it's strange, I'm trying with other attribute and it's still failing
Seems like there are problems with the database cluster
would be helpful if you share your project ID with me once?
@Khushal@2303 Does it work now? If not, send your project ID to Jyoti
@D5 and @joeyouss Now working perfectly, don't know how but it's working fine now.
That’s great to know, I shall close this then
[SOLVED] Failed - Index creating
Error in line 92749718848: Jyoti couldn't fetch further information
I wonder if I might be an AI as well
Recommended threads
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...