Skip to content

QA Signup Form Block - Invalid Subscribe Form ID renders blank block in editor without validation message #137

Description

@mohitwp

Description

When an invalid or mistyped beehiiv Subscribe Form ID is entered in the beehiiv Subscribe Form block settings, the block does not render the form in the editor. The block area appears blank, and the browser console shows repeated 404 (Not Found) requests for the subscribe form API.

The frontend fails safely and the page layout does not break, which is good. However, the editor does not show any validation message or guidance, so it is not clear to the user that the entered form ID is invalid.

Steps to reproduce:

  1. Add the beehiiv Subscribe Form block to a page/post.
  2. Paste an invalid or mistyped Subscribe Form ID in the SUBSCRIBE FORM ID field.
  3. Example: use a valid ID with one or more characters changed/removed.
  4. Observe the block preview in the editor.
  5. Open the browser console.
  6. Preview/publish the page and check the frontend.

Actual result:

  • The block preview appears blank in the editor.
  • Console shows repeated 404 (Not Found) requests.
  • The frontend does not show the form, but the page/layout does not break.

Expected result:

If the form ID is invalid or the embed cannot be loaded, the editor should show a clear validation or placeholder message instead of rendering a blank block.

Screenshot

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

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