Skip to content
Back

Exception: Route not found when calling createVarcharColumn()

  • 0
  • 3
  • Self Hosted
  • Databases
ddenev
28 Mar, 2026, 11:25

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?

TL;DR
Cloud version is ahead of self-hosted version. `1.8.1` doesn't have the new methods from Databases, so the createVarcharColumn() route is not found. Docs mention `1.8.x` but the new string types are in `1.9.0`. Endpoints exist in the `1.8.x` branch, but the `1.8.2` release was never made. A fix is incoming. For now, the workaround is to follow old sequential steps: create table > success > create columns > indexes, etc. Fix in progress - https://github.com/appwrite
28 Mar, 2026, 12:00

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.

28 Mar, 2026, 13:31

The docs are misleading then

28 Mar, 2026, 18:50

its not, not in a way. it says 1.8.x and not 1.8.1. the specs are generated from latest changes from 1.8.x branch. but agree this can cause some confusion.

28 Mar, 2026, 20:56

They definitely are! 1.8.x absolutely includes 1.8.1, so if docs say 1.8.x then this should apply to 1.8.1 as well. In addition, the new string types are part of 1.9.0 as per the changelog: https://github.com/appwrite/appwrite/blob/1.9.x/CHANGES.md. So it is even more misleading and wrong - obviously someone was fast ans sloppy to put the 1.9.0 docs into the 1.8 branch

29 Mar, 2026, 06:10

i do see the endpoints exist in 1.8.x branch

29 Mar, 2026, 06:10

original pr too merged into 1.8.x - https://github.com/appwrite/appwrite/pull/11174

29 Mar, 2026, 06:13

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

1
29 Mar, 2026, 06:46
1
29 Mar, 2026, 06:47

<@587722386237947948> did u find anything else that isnt synced?

29 Mar, 2026, 09:33

thank you for the update <@743532656767270934> . 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

29 Mar, 2026, 09:36

do u see an error?

29 Mar, 2026, 09:36

or its just silent

29 Mar, 2026, 09:37

no error. silent

1
29 Mar, 2026, 09:41

tablesdb isnt supported by 1.8.1?

29 Mar, 2026, 09:41

the sync columns creation along with the table creation isn't on 1.8.1.

29 Mar, 2026, 09:42

ah i see

29 Mar, 2026, 09:42

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

1
29 Mar, 2026, 09:43

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

1
29 Mar, 2026, 11:34

yes, this is how I do it now

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more