Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Related Posts + Gutenberg: Related Posts HTTP API call for a draft #9494

Closed
kraftbj opened this issue May 6, 2018 · 0 comments
Closed

Related Posts + Gutenberg: Related Posts HTTP API call for a draft #9494

kraftbj opened this issue May 6, 2018 · 0 comments
Labels
[Feature] Related Posts [Type] Bug When a feature is broken and / or not performing as intended

Comments

@kraftbj
Copy link
Contributor

kraftbj commented May 6, 2018

When using Gutenberg, after autosaves start, there is always a 400 response to an HTTP call to https://public-api.wordpress.com/rest/v1/sites/[[site ID]]/posts/[[post ID]]/related/

This is due to the REST API fleshing out additional meta for the post for Gutenberg, but there are no related posts to query since it is unpublished post.

You can see this by having latest Gutenberg + Query Monitor to see the call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Related Posts [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

No branches or pull requests

1 participant