Title: Error loading block: Invalid parameter(s): attributes
Last modified: October 8, 2021

---

# Error loading block: Invalid parameter(s): attributes

 *  [Lukasz](https://wordpress.org/support/users/wpfed/)
 * (@wpfed)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-7/)
 * Hi,
 * When trying to add the archive block in the widgets I get an “Error loading block:
   Invalid parameter(s): attributes”
 * The rest response shows this info:
 * {“code”:”rest_invalid_param”,”message”:”Invalid parameter(s): attributes”,”data”:{“
   status”:400,”params”:{“attributes”:”gtRemoveMarginTop is not a valid property
   of object.”},”details”:{“attributes”:{“code”:”rest_additional_properties_forbidden”,”
   message”:”gtRemoveMarginTop is not a valid property of object.”,”data”:null}}}}
 * I guess it’s hinting at something wrong with the attributes, any idea?
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Lukasz](https://wordpress.org/support/users/wpfed/)
 * (@wpfed)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-7/#post-14952471)
 * Also, another error is present but disappears when I deactivate the plugin:
 * Notice: wp_enqueue_script() was called incorrectly. “wp-editor” script should
   not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-
   widgets). Please see Debugging in WordPress for more information. (This message
   was added in version 5.8.0.)
 *  [nick6352683](https://wordpress.org/support/users/nick6352683/)
 * (@nick6352683)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-7/#post-15359590)
 * I agree with the bug report. In my case when this plugin is active, almost any
   block that queries the database, like a post list, or a slider to display posts
   or cpt, those blocks cannot be displayed or configured in the editor, on the 
   front end all is fine.
 * Deactivating this plugin fixes the issue. So now, instead of using this plugin,
   I created a couple of custom CSS classes that does the same as this plugin…

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error loading block: Invalid parameter(s): attributes’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gt-remove-block-spacing_c38b8b.svg)
 * [GT Remove Block Spacing](https://wordpress.org/plugins/gt-remove-block-spacing/)
 * [Support Threads](https://wordpress.org/support/plugin/gt-remove-block-spacing/)
 * [Active Topics](https://wordpress.org/support/plugin/gt-remove-block-spacing/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gt-remove-block-spacing/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gt-remove-block-spacing/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [nick6352683](https://wordpress.org/support/users/nick6352683/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/error-loading-block-invalid-parameters-attributes-7/#post-15359590)
 * Status: not resolved