When i'm trying to add an event with tablesdb i get an error message
My event value: tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create
Same error with the CLI:
✗ Error • process-parsing-queue (process-parsing-… • Invalid events param: Value must a valid array no longer t (it's crop i don't know why)
I've try with the old value databases and it's working
old event value:databases.mtg-decklist-dev.tables.queue_parsing.rows.*.create
Also in UI, the form automatically add databases (in the appwrite v1 and v2.beta)
Error can not create tablesdb event with the UI and CLi
<@185460546336718859> maybe you can help me 🙂 it's follow my works on function that we have speak in MP
Hey <@407146267341357057> the value you found working is actually the correct one, not a workaround.
databases.mtg-decklist-dev.tables.queue_parsing.rows.*.create
The TablesDB API was renamed, but the event namespace stayed databases. So the prefix is always databases., even for TablesDB, while the rest of the path already uses the new nouns (tables, rows). There's no tablesdb event namespace at all, which is why the validator rejects it outright.
So the Console prefilling databases is doing the right thing. 👍
I'll discuss with the team why tablesdb exists everywhere else (service name, URL path, DB type) but not as an event namespace, guessing it is completely reasonable, and you just get a silent 400.
also the docs shows tablesdb now instead of databases for events as well
Ok thanks for this messsage And yes the docs is missleading about it 🙂
So <@185460546336718859> I présume I have another issue because I have the right event setup, but it’s not fired I don’t understand why and it’s very difficult to debug it
I will setup something to have more info about it
i'm wondering if it's a similar thing with the list databases.
/v1/tablesdbreturns all databases/v1/databasesreturns only thetype: legacydatabases (the type is not related to the db type visible in the console)
so maybe it's the same with events, using databases.* only trigger for type: legacy databases and not type: tablesdb ?
If possible <@407146267341357057>, can you list your databases and tell us in the API response, what does it shows for the type if it's tablesdb that might be why
i will test this, but actually my tables has type "tablesdb"
can you check in the devtools response ? in the UI they all shows as TablesDB
Recommended threads
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...