Skip to content
This repository was archived by the owner on Sep 21, 2026. It is now read-only.
This repository was archived by the owner on Sep 21, 2026. It is now read-only.

🐛 Bug Report: Messages page broken after a SMTP misconfiguration #2880

Closed

Description

@MrEdgarsz

👟 Reproduction steps

  1. Get fresh installation of a 1.7.4.
  2. Go to messages, misconfigure the SMTP so that appwrite cannot connect to it
  3. Try to send an email
  4. Try to go to messages page

👍 Expected behavior

Show the messages page correctly

👎 Actual Behavior

500 general error blocking access to messages page.

This is what I recovered from our Sentry logs:
{ "event_id": "669136d6e2c94d2baac365afb9c6c32d", "project": 4509607013384272, "release": "1.7.4", "platform": "php", "message": "deliveryErrors must be an array of type string", "datetime": "2025-07-04T00:38:22+00:00", "tags": [ ["code", "0"], ["database", "database_db_main"], ["environment", "production"], ["level", "error"], ["logger", "http"], ["method", "GET"], ["projectId", "6867131b00002f0a35d5"], ["release", "1.7.4"], ["service", "UNKNOWN_NAMESPACE.UNKNOWN.METHOD"], ["transaction", "UNKNOWN_NAMESPACE.UNKNOWN.METHOD"], ["url", "/v1/messaging/messages"], ["verboseType", "Exception"] ], "_meta": { "exception": { "values": { "0": { "stacktrace": { "frames": { "": { "err": [ ["invalid_data", { "reason": "expected a non-empty value" }] ] } } } } } }, "tags": { "3": { "1": { "": { "err": [ ["invalid_data", { "reason": "expected a non-empty value" }] ] } } } } }, "_metrics": { "bytes.ingested.event": 3184, "bytes.stored.event": 3792 }, "culprit": "UNKNOWN_NAMESPACE.UNKNOWN.METHOD", "environment": "production", "errors": [ { "type": "invalid_data", "name": "exception.values.0.stacktrace.frames", "reason": "expected a non-empty value" }, { "type": "invalid_data", "name": "tags.3.1", "reason": "expected a non-empty value" } ], "exception": { "values": [ { "type": "deliveryErrors must be an array of type string", "stacktrace": { "frames": null } } ] }, "extra": { "file": "/usr/src/code/src/Appwrite/Utopia/Response.php", "line": 688, "trace": "#0 /usr/src/code/src/Appwrite/Utopia/Response.php(715): Appwrite\\Utopia\\Response->output(Object(Utopia\\Database\\Document), Object(Appwrite\\Utopia\\Response\\Model\\Message))\n#1 /usr/src/code/src/Appwrite/Utopia/Response.php(615): Appwrite\\Utopia\\Response->output(Object(Utopia\\Database\\Document), Object(Appwrite\\Utopia\\Response\\Model\\BaseList))\n#2 /usr/src/code/app/controllers/api/messaging.php(3422): Appwrite\\Utopia\\Response->dynamic(Object(Utopia\\Database\\Document), 'messageList')\n#3 /usr/src/code/vendor/utopia-php/framework/src/App.php(609): {closure}(Array, '', Object(Utopia\\Database\\Database), Object(Appwrite\\Utopia\\Response))\n#4 /usr/src/code/vendor/utopia-php/framework/src/App.php(826): Utopia\\App->execute(Object(Utopia\\Route), Object(Appwrite\\Utopia\\Request), Object(Appwrite\\Utopia\\Response))\n#5 /usr/src/code/vendor/utopia-php/framework/src/App.php(723): Utopia\\App->runInternal(Object(Appwrite\\Utopia\\Request), Object(Appwrite\\Utopia\\Response))\n#6 /usr/src/code/app/http.php(454): Utopia\\App->run(Object(Appwrite\\Utopia\\Request), Object(Appwrite\\Utopia\\Response))\n#7 [internal function]: {closure}(Object(Swoole\\Http\\Request), Object(Swoole\\Http\\Response))\n#8 {main}" }, "level": "error", "logentry": { "formatted": "deliveryErrors must be an array of type string" }, "logger": "http", "metadata": { "type": "deliveryErrors must be an array of type string", "value": "" }, "title": "deliveryErrors must be an array of type string", "transaction": "UNKNOWN_NAMESPACE.UNKNOWN.METHOD", "type": "error" }

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

1.7.4 self-hosted

👀 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?

Activity

  1. added
    bug
    on Jul 4, 2025
  2. MrEdgarsz commented on Jul 4, 2025

    @MrEdgarsz
    Author

    FYI: I was able to fix it by manually finding the ID of the record in the database, and removing it via CLI

  3. added
    product / messaging
    on Jul 10, 2025
  4. transferred this issue fromappwrite/appwriteon Feb 23, 2026
  5. eldadfux commented on Sep 21, 2026

    @eldadfux
    Member

    Starting today this repo is archived. Please raise any issues with the new Appwrite console on the main platform repo: https://github.com/appwrite/appwrite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproduct / messaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions