
Recent release of Kotlin SDK (2.0.0) added support for Appwrite 1.3.x features but also bumped Kotlin version to 1.8.0, which is great, but open-runtimes and Appwrite only supports Kotlin 1.6 for functions. So SDK is there, but it is not possible to create a function and use it - build fails with obvious message that Kotlin version is not compatible.
Am I missing something here maybe 🧐?

Recent release of Kotlin SDK (2.0.0) added support for Appwrite 1.3.x features but also bumped Kotlin version to 1.8.0 What do you mean by this? How did Appwrite upgrade Kotlin to 1.8.0? I'm a little confused 😅

oh wait

you mean the Kotlin SDK uses 1.8.0

ah okay got it. let me see what I can find on this

Well as you said, it seems like there is a mismatch in the supported version for cloud functions, and the latest version of the Kotlin SDK for Appwrite.
maybe they'll release a runtime for kotlin 1.8.0 soon

Yea exactly, SDK uses 1.8.0 but runtime only goes up to 1.6.0. Only way to use it is to downgrade to older Kotlin SDK and not use new features for now.
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
