Skip to content

No error displayed when embedding a URL to a PDF which is 10MB or more #69

@kasparsd

Description

@kasparsd

When using the Iframely block to embed a URL to a PDF that is over 10MB, the endpoint returns the following error which is never shown to the user:

{"url":"https:\/\/example.com\/wp-content\/uploads\/sites\/28\/2026\/04\/menu.pdf","type":"link","version":"1.0","messages":["PDF files that are over 10Mb are not supported by Google Docs Viewer"],"cache_age":86400,"html":""}

while the block renders as empty element in the editor:

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