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
- Issue related to index
Why it is showing this error?
- Project paused despite active use — rest...
Hey team! My Appwrite Cloud project (685579e5000d78e67009) has been marked as paused due to inactivity, but it's actively used in production. I clicked the Rest...
- Creation failedUnknown sort order:asc. M...
Hi there, I'm getting this error on self hosted when trying to create an Index. Any ideas?