
Hello! I'm developing my app with appwrite cloud. When I tried to text something in app and than send it to server to create new document, I rarely find this error. I'm used russian/kazakh language in every cases and receives this strange text. Why?

Does the same thing happen if you put it in the console?

no

Weird..I wonder if the encoding is changing client side 🧐
Can you compare the network request payload between doing it from the console vs from your app?

I finally did it. In server appwrite function i receiving strange logs: Hello, Logs! {"host": "cloud.appwrite.io", "messagetext": "\u00d0\u00b4\u00d0\u00b0\u00d0\u00b0", "senderid": "662d14a5003243c80cb0", "receiverid": "66094e5a0c05c6251136", "chatid": "663f7aa7001426716235", "action": "sendNewMessage", "timestamp": "Fri May 31 16:40:42 GMT+05:00 2024"}
Unsupported logs detected. Use context.log() or context.error() for logging.
Successfully sent message: <firebase_admin.messaging.BatchResponse object at 0x7f66179da550>

How are you logging?

What's your code?

Also, this errro seems to be unrelated, so if possible, create a new post for a better assistance

Code on server or client side?

The code that throws the error. Server side

If you're using any log way, you should replace it with context.log in order to not get that error

newServerDocument in Cloud has strange symbols in messageText attribute

You don't have any logging?

And log ```{"host": "cloud.appwrite.io", "messagetext": "\u00d0\u00b4\u00d0\u00b0\u00d0\u00b0", "senderid": "662d14a5003243c80cb0", "receiverid": "66094e5a0c05c6251136", "chatid": "663f7aa7001426716235", "action": "sendNewMessage", "timestamp": "Fri May 31 16:40:42 GMT+05:00 2024"}
Unsupported logs detected. Use context.log() or context.error() for logging.
Successfully sent message: <firebase_admin.messaging.BatchResponse object at 0x7f66179da550>

Error maybe in my client side than?

No idea, but that error is being thrown whe you use something that is not context.log

At some point in the code
Recommended threads
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Row with the requested ID already exists...
I’m hitting a blocking issue creating rows in Appwrite (both from the console and my React Native app). After successfully inserting the first row, every subseq...
