You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.
Really love that this is a project. Been playing around with it and i've been able to get it to connect successfuly and using authentication to WP API.
However some actions aren't working. e.g. I can't seem to add any categories/tags, publish content, or do anything with media.
Some of the requests coming from gutenberg look like this categories?per_page=-1&orderby=name&order=asc&_fields=id%2Cname%2Cparent
if i run this request in postman it fails because of the per_page=-1 . When i use gutenberg from within wordpress and i monitor the requests I see the same one being done with per_page=100 .
Also it says that you need permission to upload media. I'm definitely an admin and logged in.
Any ideas?
Best,
Adam
The text was updated successfully, but these errors were encountered:
Regarding the media uploads. Gutenberg calls to /wp/v2/media OPTIONS, it does so twice in my setup, one it returns GET as a method, the second time it returns GET and POST.
So i can force it to accept media uploads by calling data.dispatch("core").receiveUploadPermissions(true); manually. However the payload when it tries to send the file to /wp/v2/media is empty
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
Really love that this is a project. Been playing around with it and i've been able to get it to connect successfuly and using authentication to WP API.
However some actions aren't working. e.g. I can't seem to add any categories/tags, publish content, or do anything with media.
Some of the requests coming from gutenberg look like this
categories?per_page=-1&orderby=name&order=asc&_fields=id%2Cname%2Cparent
if i run this request in postman it fails because of the per_page=-1 . When i use gutenberg from within wordpress and i monitor the requests I see the same one being done with per_page=100 .
Also it says that
you need permission to upload media.
I'm definitely an admin and logged in.Any ideas?
Best,
Adam
The text was updated successfully, but these errors were encountered: