Skip to content

Incorrect error description for external endpoint failures #1268

@paschun

Description

@paschun

Describe the bug

The error description for external endpoint failures is often wrong. Often has the number 50 or 100 replacing the first few characters of the description. Other times it seems as if the string has been duplicated + shifted, replacing some characters in the string.

The message also changes upon refresh. Sometimes it is correct.

What do you see?

in the results[] from
/api/v1/endpoints/immich_home-to-tunnel-icmp/statuses?page=1&pageSize=50
If I expect ipv6-failed as the error message, it is instead:

    {
      "duration": 166000000,
      "errors": [
        "50v6-failed"
      ],
      "success": false,
      "timestamp": "2025-09-16T23:38:07.071688919Z"
    },

So it appears to be a backend/API issue.

What do you expect to see?

So if the message should be: error-message.
It will instead be 50ror-message, 100or-message, or something like essageor-message

List the steps that must be taken to reproduce this issue

  1. Create an external endpoint in .yml

  2. POST Data to the external endpoint like:POST /api/v1/endpoints/{key}/external?success={success}&error={error}

  3. Open web interface

  4. Hover over failure, or view it in the network requests

Version

Docker v5.23.2

Additional information

It doesn't appear to be related to duration. I tried including and not including the duration, the bug happens either way.

I'm using memory storage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcannot reproduceThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions