• Resolved alantygel

    (@alantygel)


    Hi,

    I don’t know when exactly it started, but all my custom post type blocks are showing rest_invalid_param error in Gutenberg.

    The page, however, is rendering correctly.

    The whole JSON response is:

    {
    	"code": "rest_invalid_param",
    	"message": "Parametro(s) inválido(s): attributes",
    	"data": {
    		"status": 400,
    		"params": {
    			"attributes": "UAGHideDesktop n?o é uma propriedade válida do Objeto."
    		},
    		"details": {
    			"attributes": {
    				"code": "rest_additional_properties_forbidden",
    				"message": "UAGHideDesktop n?o é uma propriedade válida do Objeto.",
    				"data": null
    			}
    		}
    	}
    }

    The block code is:

    <!-- wp:getwid/custom-post-type {"postTemplate":"204815","postsToShow":1,"taxonomy":["posicao_na_capa"],"terms":["posicao_na_capa[4453]"],"className":"destaque"} /-->

    Thanks!
    alan

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor motopress

    (@motopress)

    Looks like UAGHideDesktop is something from ultimate-addons-for-gutenberg plugin. So you can ask this question on their forum.

    Thread Starter alantygel

    (@alantygel)

    Great, thanks for pointing this out.

    Since the error is showing over on GetWid blocks, I though the problem was here. But indeed, disabling UAGB solved the issue.

    Maybe there is a conflict between UAGB and GetWid.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error: rest_invalid_param’ is closed to new replies.