Skip to content

Sometimes too long custom_id field #1

@ahnl

Description

@ahnl

A mail will not be delivered to Discord when value of custom_id exceeds 100 characters. Thecustom_id field contains base64 encoded from and to values of an email.

A solution could be to save from and to values in the database, and point custom_id to the database row.

Reproduction

  1. Send an email to thisisaverylongemailaddress+yourmailbox@koira.testausserveri.fi
  2. Following error will occur and mail will not be delivered to Discord
app_1  | DiscordAPIError: Invalid Form Body
app_1  | components[0].components[0].custom_id: Must be 100 or fewer in length.

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