gridsome / gridsome/gridsome-starter-wordpress

fails on POST with 400

Open
#5 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
92
Forks
30
PR merge metrics
No merged PRs in 30d

Description

I configured the `gridsome.config.js` file to point to my site and playing around with the GraphQL explore URL it would appear it has connected correctly but when I run "develop" webpage I get a blank screen with two errors:

1. The first is a POST request
![image](https://user-images.githubusercontent.com/980757/49358589-0f734d80-f688-11e8-986f-c47f8176403d.png)

2. Then a Vue warning: "Cannot read property 'allWordPressPost' of undefined""
![image](https://user-images.githubusercontent.com/980757/49358664-506b6200-f688-11e8-969b-ba2e70f64c88.png)

3. Finally, there is another run-time error which seems like a restatement of the second:
![image](https://user-images.githubusercontent.com/980757/49358730-8e688600-f688-11e8-8f54-9278d910ba9a.png)

Since the error stems from the **allWordPressPost** query I thought I'd try a sample query from the explorer to see if it worked. Now I must admit I know very little about GraphQL but here are the query results:

![image](https://user-images.githubusercontent.com/980757/49358866-16e72680-f689-11e8-8efe-f4f523f85824.png)

> Note: this blog has 1000's of posts from as early as 2001

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.