-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
👟 Reproduction steps
Setup appwrite
Create account and user object
Try to add document to database
okhttp tries to embed class loader into the api request thus crashing the app
Sample, running logEvent method causes the error/log
👍 Expected behavior
The request should succeed and the document should be created
👎 Actual Behavior
The app crashes (or in the linked app, logs the error) with
io.appwrite.exceptions.AppwriteException: Invalid document structure: Unknown attribute: "mClassLoader"
at io.appwrite.Client$awaitResponse$2$1.onResponse(Client.kt:490)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Something else
🧱 Your Environment
The code runs on an Android device. I tried with SDK v3.0.0 and v3.0.1 both.
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working