Skip to content

No visible error while uploading badge image #62

@fajfer

Description

@fajfer

As I was creating a new badge under /admin/badges/edit/x (or a new badge, because I've tried both). I've realised something's preventing me from saving.

It turns out it's image I'm uploading. In the console I can see that message immediately after upload:
Image corrupt or truncated. URI in this note truncated due to length.

Then, after some time, another messages pop:
[2026-02-21T11:47:20.267Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.
[2026-02-21T11:47:20.268Z] Information: Connection disconnected.
Uncaught (in promise) Error: Cannot send data if the connection is not in the 'Connected' State.

There is no visible information on the UI, however.

The image in question is a JPEG image, 34,6KiB, 460x460 named 11696312.jpeg. It's my GitHub avatar. I'm uploading it to the issue
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions