# Inbox gebruikersberichten Fout 500

**URL:** <https://meta.discourse.org/t/user-messages-inbox-error-500/165937>\
**Category:** Self-hosting\
**Created:** [1 oktober 2020 om 15:27 UTC](https://meta.discourse.org/t/user-messages-inbox-error-500/165937 "2020-10-01T15:27:38Z")\
**Posts on this page:** 1\
**Showing post:** 28

<div class="post-metadata">

**Author:** ![v.stephan](https://avatars.discourse-cdn.com/v4/letter/v/85f322/32.png) [@v.stephan](https://meta.discourse.org/u/v.stephan)\
**Post date:** [20 oktober 2020 om 20:05 UTC](https://meta.discourse.org/t/user-messages-inbox-error-500/165937/28 "2020-10-20T20:05:35Z")

</div>

Martin thanks again for the tip.

Well I tried to run `rake uploads:secure_upload_analyse_and_update` but the output was

**`This task only works for external storage.`**

So I tried to active the `activate secure media` option. But unfortunately or lets say for the sake of avoiding admin errors. This option can only be activated by configuring Amazon S3 buckets. And I am absolutely sure that no one ever made a S3 setup before.

So I can not run the rake script because I do not have any S3 Storage available. So I can’t say if it has an effect on the `pry(main)> Upload.where('secure').count`

I am wondering why we still have some secure uploads when we never had S3 activated?

Any clues on that.

But in fact

> [@Ed\_S](#):
>
> I’m guessing, but the backtrace looks like it’s trying to serialise a list of messages, or a list of information from messages, and is failing when it comes to serialise a particular image. The image is presumably the profile image of a user. Only one account is affected, so perhaps the bad image is for a user who only communicated with this affected account.
> 
> Possibly the failing list construction is for the most recent N messages. Perhaps you could send N messages (with different topic titles) to the afflicted account, so the list only contains good messages?

Did the trick. So I am fine for now. Even if I have no clue why we are experiencing such behavior. I would be happy to learn what else could be the reason.

Thanks in advance and for all your time you already spent.

---

_[View the full topic](https://meta.discourse.org/t/user-messages-inbox-error-500/165937)._
