![](https://cdn.discordapp.com/avatars/453013646986182656/b9415b17d694d9fd1914495c5c58c7fe.webp)
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?
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
Does the same thing happen if you put it in the console?
![](https://cdn.discordapp.com/avatars/453013646986182656/b9415b17d694d9fd1914495c5c58c7fe.webp)
no
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
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?
![](https://cdn.discordapp.com/avatars/453013646986182656/f4df6bb7f175b6f00b6714129223727a.webp)
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>
![](https://cdn.discordapp.com/embed/avatars/0.png)
How are you logging?
![](https://cdn.discordapp.com/embed/avatars/0.png)
What's your code?
![](https://cdn.discordapp.com/embed/avatars/0.png)
Also, this errro seems to be unrelated, so if possible, create a new post for a better assistance
![](https://cdn.discordapp.com/avatars/453013646986182656/f4df6bb7f175b6f00b6714129223727a.webp)
Code on server or client side?
![](https://cdn.discordapp.com/embed/avatars/0.png)
The code that throws the error. Server side
![](https://cdn.discordapp.com/embed/avatars/0.png)
If you're using any log way, you should replace it with context.log in order to not get that error
![](https://cdn.discordapp.com/avatars/453013646986182656/f4df6bb7f175b6f00b6714129223727a.webp)
newServerDocument in Cloud has strange symbols in messageText attribute
![](https://cdn.discordapp.com/embed/avatars/0.png)
You don't have any logging?
![](https://cdn.discordapp.com/avatars/453013646986182656/f4df6bb7f175b6f00b6714129223727a.webp)
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>
![](https://cdn.discordapp.com/avatars/453013646986182656/f4df6bb7f175b6f00b6714129223727a.webp)
Error maybe in my client side than?
![](https://cdn.discordapp.com/embed/avatars/0.png)
No idea, but that error is being thrown whe you use something that is not context.log
![](https://cdn.discordapp.com/embed/avatars/0.png)
At some point in the code
Recommended threads
- Query issue when getting the document fr...
I get an error when i try to get document from the database and use query to select only 1 column. **Error:** `java.lang.NullPointerException: null cannot be c...
- How to alter attributes in collections
Hi there, unluckily I made avatar as string. I should have make it URL. I forgot. Now my URLs for avatar coming more than 156 char. For hot fix, I need to use l...
- add document error
im getting this error ```{ "message": "No Appwrite project was specified. Please specify your project ID when initializing your Appwrite SDK.", "code": 401, "ty...
![](/images/bgs/pre-footer.png)