Skip to content

>64 media items in Components V2 results in 500 error #7528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
panley01 opened this issue Apr 28, 2025 · 10 comments
Open

>64 media items in Components V2 results in 500 error #7528

panley01 opened this issue Apr 28, 2025 · 10 comments
Labels
bug synced Synced to internal tracker

Comments

@panley01
Copy link
Contributor

panley01 commented Apr 28, 2025

Description

When sending 64 fish:

{
    "flags": "32768",
    "components": [
        {
            "type": 17,
            "components": [
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                }
            ]
        }
    ]
}

The API acts as expected, and sends a message with 64 fish.

When attempting to send 65 or more fish:

{
    "flags": "32768",
    "components": [
        {
            "type": 17,
            "components": [
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                },
                {
                    "type": 12,
                    "items": [
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        },
                        {
                            "media": {"url": "https://em-content.zobj.net/source/twitter/408/fish_1f41f.png"},
                            "description": "🐟"
                        }
                    ]
                }
            ]
        }
    ]
}

The API returns:

{
    "message": "500: Internal Server Error",
    "code": 0
}

This limit is not documented and the error response is not informative.

This issue also persists despite the media type being used. The 64 limitation appears to include all elements of Media Gallery and Thumbnail

Steps to Reproduce

Send a Components V2 message with 65 or more media components (fishes are optional)

Expected Behavior

The API should send a clear error with a documented limitation on media components and error code, or allow the sending of >64 media components

Current Behavior

The api returns a 500 error when sending >64 media components

Screenshots/Videos

No response

Client and System Information

Testing performed with Postman

@panley01 panley01 added the bug label Apr 28, 2025
@jb3
Copy link
Contributor

jb3 commented Apr 28, 2025

Confirming I'm also experiencing this issue with Components V2.

When attempting to send 64 or more media components, the API returns a 500 Internal Server Error, exactly as described.

My specific use case involves trying to send exactly 65 images (of cows, importantly!) to a group chat ("the boys chat"), and I'm consistently hitting this error when the count exceeds 64.

Hoping for a fix soon!

@panley01 panley01 changed the title >61 media items in Components V2 results in 500 error >65 media items in Components V2 results in 500 error Apr 28, 2025
@panley01 panley01 changed the title >65 media items in Components V2 results in 500 error >64 media items in Components V2 results in 500 error Apr 28, 2025
@OoLunar
Copy link
Contributor

OoLunar commented Apr 28, 2025

I can confirm this limitation also affects my attempt to send 128 penguin pictures (🐧 x128) via Components V2. The behavior is identical to both the fish and cow cases mentioned above:

  • 64 penguins: Works perfectly
  • 128 penguins: Returns 500: Internal Server Error

This appears to be a hard limit affecting all media types, whether fish, cows, or penguins. The undocumented 64-item restriction makes it impossible to properly fill empty channels with adequate amounts of aquatic birds (or other media).

Would love to see either:

  • The limit raised (128 would be ideal for my penguin needs)
  • Proper documentation of the limitation
  • A more descriptive error message

Until then, my penguin campaign remains grounded. 🐧✈️

@Naamloos
Copy link
Contributor

+1 on this limitation. As a particularly hungry individual, I can easily consume a large amount of food- in fact, up to 128 hamburgers in one sitting (for those unfamiliar, they look like this: 🍔). Increasing the limit to 128 media items would significantly help accommodate my unusual appetite.

Currently, the restriction to 64 items means I can only receive half of what I need at a time, which is inconvenient and frustrating. If I had known beforehand, I could have accommodated my needs more properly.

I agree with @OoLunar's earlier points: if raising the limit isn't an option, please at least document this behavior clearly.

@Lulalaby
Copy link
Contributor

Lulalaby commented Apr 28, 2025

tl;dr the request entity is too large.

Image

The correct error to return would be 40005

You can see that 100 items are possible when sending something invalid like https://a.tld/a

Also since when are issues part of shitpost places

@Naamloos
Copy link
Contributor

It's just some lighthearted fun, sorry if it made you uncomfortable.

Anyway, I do agree that, even for other validation issues, better error reporting from the API might be nice. Plus the fact that this error is seemingly undocumented.

@panley01
Copy link
Contributor Author

panley01 commented Apr 28, 2025

tl;dr the request entity is too large.

Image

The correct error to return would be 40005

You can see that 100 items are possible when sending something invalid like https://a.tld/a

Also since when are issues part of shitpost places

It seems this may be the case.

When attempting to send 1x1 pixels https://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png, I can reach 66 pixels without issue, but 67 pixels returns:

{
    "message": "500: Internal Server Error",
    "code": 0
}

The fish vs pixel deviation suggests this error may be coming from Discord's backend - at some point - processing all of the image data and returning some form of error related to message size limitations.

With 66 1 pixel images, across 7 media galleries, and 83 characters in a text display component, the response is also:

{
    "message": "500: Internal Server Error",
    "code": 0
}

Further suggesting this is due to the request entity being too large to process.

The largest response body I was able to achieve was 31.08 KB uncompressed & 1.16 KB
compressed, with the request body at 15.11 KB.

I thought the nature of this issue was rather fishy, hopefully we've reeled in the source of this issue & this uncaught error.

@gabemeola gabemeola added the synced Synced to internal tracker label Apr 28, 2025
@gabemeola
Copy link
Member

gabemeola commented Apr 29, 2025

Thanks for the report. You may be hitting a payload dl limit with fish and mammals. Maybe try a smaller more compact species like a gecko lizard. Issue is synced and will get back to y'all on this.

@Pavel-Boyazov
Copy link

I think it's the same situation as in #7448

@DV8FromTheWorld
Copy link
Member

When attempting to send 1x1 pixels https://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png, I can reach 66 pixels without issue, but 67 pixels returns:

In this case it has nothing to do with the size of the image. It entirely has to do with the size of the content in the JSON.
We'll put a limit in here that produces a reasonable 400.

Also, why y'all gotta make more work for me 😿

@OoLunar
Copy link
Contributor

OoLunar commented May 7, 2025

We all say "thank you DV8" in complete unison

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug synced Synced to internal tracker
Projects
None yet
Development

No branches or pull requests

8 participants