Skip to content

Mastodon image count limit of 4 is not handled correctly #1105

@NickAtGit

Description

@NickAtGit

📜 Description

When posting to multiple channels I've seen already that some networks are handled correctly and you get a error message that the limit is 4 images.

However with Mastodon that is not the case.

Best way would be to tell the user the limits before posting and not when trying to post/schedule.

👟 Reproduction steps

Create a post with 5 images and send to Mastodon. Posting UI says success, a few moments later you get An error occurred while posting on mastodon in the notifications. Server logs show limit is 4.

👍 Expected behavior

Quick fix: do the same logic as it is already done for Bluesky or Twitter, the posting fails and a message says that 4 is the limit.

Good fix: Notify user about limits before posting

👎 Actual Behavior with Screenshots

Posting UI says success, a few moments later you get An error occurred while posting on mastodon in the notifications. Server logs show limit is 4.

💻 Operating system

Linux

🤖 Node Version

v22.20.0

📃 Provide any additional context for the Bug.

No response

👀 Have you spent some time to check if this bug has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions