so that problem is solved for now
only the deleting take a long time
If this is from messaging API, it's not available in cloud yet
Also, if the deleting attribute is still stuck after some hours, tell me and send your project ID so the team takes a look into it
ow no its not from an api
Now i created another attribute and its still processing. The deleting attribute is now deleted
but the processing is stuck now
:sad:
Hmmm weird. Seems a database is a bit busy so the attribute creation is slow...
yeah i guess so
Does refreshing the page works?
Or it's still processing even after that?
Nop also not if i re login
i can look if this one is already set as attribute, but i think not
nop now it says Invalid document structure: Unknown attribute: "readed"
65a321d6b97507a5464a
this is my project ID
now it have no processing , but stil the error: Invalid document structure: Unknown attribute: "readed"
it seems its really slow
export async function createNotification(
type: string,
user: string,
message: string,
from: string,
readed: boolean,
) {
try {
const createNotification = await databases.createDocument(
appwriteConfig.databaseId,
appwriteConfig.NotificationCollection,
ID.unique(),
{
type: type,
user: user,
message: message,
from: from,
readed: readed
}
)
if(!createNotification) throw Error;
return createNotification;
} catch (error) {
console.log(error)
}
}
This is the api part
i think i give up for today.. Still not working lol
I am experiencing a similar issue. AppwriteException: Invalid document structure: Unknown attribute: on a string array. Both from my app and in the cloud database dashboard. I get the error whether I add array of values or try to create the item with empty array. Also when trying to delete an array attribute added today it stays stuck on 'deleting' status.
I think there is some bug/error on the appwrite. So i leave it for now. Hope it works tommorow again
Goodnight peeps and hope someone can fix it soon
:StitchSleep:
Recommended threads
- Invalid document structure: Unknown attr...
Hello. I have self hosted instance running on my server and has valid endpoint and most of things are working as should. Installation is fresh install of versio...
- Server side row delete error : "Server E...
when i try to delete the recored this error come and also there one things i have created the relationship with other table then deleted the column and still th...
- Why TablesDB ListRows function does not ...
When I try to list the rows with queries, there is no column data included in the returned value with forced me to fetch the items one-by-one with ID (which was...