mail icon indicating copy to clipboard operation
mail copied to clipboard

Could not load message.

Open propitech-web opened this issue 1 month ago • 2 comments

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Error

OCA\Mail\Exception\ServiceException: Could not load message
  at OCA\Mail\Service\MailManager::getImapMessage
     /var/www/nextcloud/apps/mail/lib/Controller/MessagesController.php, line 223
  at OCA\Mail\Controller\MessagesController::getBody
     /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php, line 204
  at OC\AppFramework\Http\Dispatcher::executeController
     /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php, line 118
  at OC\AppFramework\Http\Dispatcher::dispatch
     /var/www/nextcloud/lib/private/AppFramework/App.php, line 153
  at OC\AppFramework\App::main
     /var/www/nextcloud/lib/private/Route/Router.php, line 321
  at OC\Route\Router::match
     /var/www/nextcloud/lib/base.php, line 1061
  at OC::handleRequest
     /var/www/nextcloud/index.php, line 25

propitech-web avatar Nov 27 '25 04:11 propitech-web

Thanks for reaching out, I'm afraid there's not much we can do with the information available. If it happens again, please open a new ticket using the bug template. In general, this error means that either the row in the database was not found, or something went wrong while fetching the data from IMAP. I'm preparing a change for one of the upcoming Mail releases to include more details in that error path.

kesselb avatar Dec 02 '25 09:12 kesselb

@propitech-web could you please open your nextcloud.log and post the complete exception? The "Could not load message" exception is actually wrapping another exception with the underlying reason.

kesselb avatar Dec 09 '25 21:12 kesselb