Iāve been testing Frontity with a local instance of Wordpress and have been able to grab data from posts, pages, etc so far. I have a Wordpress instance set up publicly (not ssl/https) and am testing grabbing data from the public test Wordpress instance. Upon doing this and attempting to actions.source.fetch(āhome-postā) I constantly receive an error in my console that is presented as the name of this post: āServerError: post type from endpoints āposts, pages, mediaā with slug āhome-postā not foundā.
My frontity.settings source url is āhttp://test.pritchardelectric.net.user.server296.com/ā. Iām not using the wp-json appended considering I didnāt need to do this to receive data from my localhost wordpress instance. And I receive an error with that appended any ways (different error).
Iām viewing the network response, and am receiving an empty array from āhttp://test.pritchardelectric.net.user.server296.com/wp-json/wp/v2/posts?_embed=true&slug=home-postā
When I go to this url directly in browser I can see the expected json associated, which is weird Iām not receiving data back in the network response from the actions.source.fetch.
Not sure why this is working on local and not public. I have the same post name/permalink on public, and same permalink types set globally. Iām calling actions.source.fetch in a use effect within my Home.js component.
The repo is private. So please let me know if you have any questions. Thank you so much in advance.
WP Rest API URL is the site with /wp-json appended