Skip to content
Init is coming / May 19 - 23
Back

console messaging - Error 500

  • 0
  • Self Hosted
  • Messaging
MrT2010
16 May, 2025, 12:30

Hello,

on my self hosted instance (1.6.0) after I tried to use the messaging feature and press "send" for a test message, I get "Error 500" for the messaging tab, I can't access it anymore. In other projects, its still working, only in the one project I tested not anymore. I already restarted the docker container. Does not help.

The error via "docker compose logs appwrite" is:

TypeScript
appwrite  | Warning: foreach() argument must be of type array|object, int given in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php on line 5440
appwrite  |
appwrite  | Warning: foreach() argument must be of type array|object, int given in /usr/src/code/vendor/utopia-php/database/src/Database/Database.php on line 5381
appwrite  | [Error] Timestamp: 2025-05-16T12:22:18+00:00
appwrite  | [Error] Method: GET
appwrite  | [Error] URL: /v1/messaging/messages
appwrite  | [Error] Type: Exception
appwrite  | [Error] Message: deliveryErrors must be an array of type string
appwrite  | [Error] File: /usr/src/code/src/Appwrite/Utopia/Response.php
appwrite  | [Error] Line: 630

What can I do to resolve this?

Thanks

TL;DR
Developers encountered an Error 500 while using the messaging feature on a self-hosted instance of version 1.6.0. The error log shows warnings and an exception related to the messaging component. Restarting the docker container did not fix the issue. To resolve this, developers should investigate the error log for any recent changes that might have affected the messaging functionality, and check if the 'deliveryErrors' are properly handled as an array of type string.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more