Okay Ive made a bad move. I have a username attribut in a collection and I wanted to change its size. So for that I had to delete it and recreate it. Except that I had a "username" index that was bound to this attribute. So now when I want to recreate a "username" index it doesn't work because it must still exist in the Appwrite server. This is a problem I had before on a selfhosted Appwrite instance. But as here I use the cloud I can't correct the error myself...So when we delete an attribute, the linked indices are not deleted completely
What error do you get when you try to create the index?
What's your project id?
Ive no error in the console. I guess like the last time, the error is only on the server
Ive try to create a function for deleting the Index but not working too
my project id : 648cd565d979363284c1
That so weird. Ive deleted the 'username' attribut and recreate one so my document shouldnt have username like that :
But when I get the document in my NextJS app I still get the previous value of username
Well Ive recreate my Appwrite project and deleted the one with index issue
So how do you know something is wrong?
Are you calling getDocument in your nextjs app?
Because ive got the failed icon on the index
And the new index didn't work so
I see.
So do things work now after recreating the collection?
Ive reacreate the entire project to make a fresh setup so everything works for now
But ive just try to recreate a project with the older project id, I got an error : Project with the requested ID already exists. That normal ?
I just ask because maybe the project is not propely deleted
Ya...there might be some PR recently to fix that problem
Recommended threads
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...