#Exception: Route not found when calling createVarcharColumn()

21 messages · Page 1 of 1 (latest)

grand tusk
#

I have self-hosted v1.8.1 and I am using an Appwrite function with node-appwrite v22.
When I call the createVarcharColumn() in my server function I get this exception:

"AppwriteException: Route not found. Please ensure the endpoint is configured correctly and that the API route is valid for this SDK version. Refer to the API docs for more details."

Why isn't createVarcharColumn() available in 1.8.1 self-hosted?

scarlet sandal
#

Cloud is always a bit ahead of the self-hosted version. 1.8.1 doesn't have the new methods from Databases. You'll have to wait for the next SH release.

grand tusk
#

The docs are misleading then

scarlet sandal
grand tusk
muted drift
#

i do see the endpoints exist in 1.8.x branch

#

okay yeah it was added to 1.8.x but 1.8,2 release was never made

muted drift
#

@grand tusk did u find anything else that isnt synced?

grand tusk
#

thank you for the update @muted drift . there is also this nasty bug - https://github.com/appwrite/sdk-for-node/issues/136 - not directly relating to docs but still - the docs say the createTable should work properly with columns but it doesn't. It seems this is still not being fixed

GitHub

👟 Reproduction steps Here is my node.js createTable function: await db.createTable({ databaseId, tableId: 'months', name: 'Months', permissions: [Permission.read(Role.user(userId)),...

muted drift
#

or its just silent

grand tusk
muted drift
scarlet sandal
muted drift
#

ah i see

#

welp this one will be harder to fix in specs... 😭

scarlet sandal
#

in the meantime, it should work with old sequential steps: create table > success > create columns > indexes, etc.