Playing a video the showing an error like,
FATAL EXCEPTION: DefaultDispatcher-worker-2 (Ask Gemini) Process: com.example.video, PID: 5629 io.appwrite.exceptions.AppwriteException: Error: Server Error at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:343) at com.google.gson.internal.ConstructorConstructor$9.construct(ConstructorConstructor.java:262) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$FieldReflectionAdapter.createAccumulator(ReflectiveTypeAdapterFactory.java:427) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:383) at com.google.gson.Gson.fromJson(Gson.java:1227) at io.appwrite.extensions.JsonExtensionsKt.fromJson(JsonExtensions.kt:17) at io.appwrite.services.Realtime$AppwriteWebSocketListener.handleResponseError(Realtime.
Have you checked whether all the URLs are correct or not? Are you using proper error-handling?
Also, please make sure your backend returns the response in proper JSON format and confirm that your Kotlin data class matches the actual JSON returned
Recommended threads
- Urgent help with removed databases
Hi <@564158268319203348> <@501784879638249472> I wrote to paid plan support about this but no response as of yet… About an hour ago one of the interns from o...
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Console display all Databases as TablesD...
While looking at an issue with <@1231860789355347971> we saw that the console was displaying ALL databases as `TablesDB` even if the real type in the API is `le...