Console error in Editor: GET 400 (Bad Request), code: rest_invalid_type, message: post[0] is not of type integer. #66882
Labels
REST API Interaction
Related to REST API
[Type] Bug
An existing feature does not function as intended
Description
Hello, I am getting a console error on a clean local WordPress 6.6.2 installation with the latest Gutenberg plugin:
Failed to load resource: the server responded with a status of 400 (Bad Request)
http://local.test/wp-json/wp/v2/comments?context=edit&post=twentytwentyfour%2F%2Fhome&type=block_comment&status=any&per_page=100&_locale=user
If I open this link, I'm getting this:
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: