Comments (7)
And you've validated that GITHUB_API_TOKEN
is in fact valid and has the right scopes right?
You can feel free to message me a zip of your project or something on Twitter (schaudustin) or e-mail at dustin @ gatsbyjs dot com
from gatsby-mail.
This line means that .env.development
will be sourced.
Are you sure you created a token with the correct scopes required as per the README?
from gatsby-mail.
Yes, I have a token from onegraph with the app id.
In fact, I had the following error at first:
...\gatsby-mail\src\components\footer.js
61:11 error Cannot query field "github" on type "Query" graphql/template-strings
So I removed the github attribute from FooterQuery to see where the problem came from and saw the program couldn't join the graphql api.
from gatsby-mail.
Right -- that error would be because the Github schema wasn't sourced (401) and so the github
schema wasn't stitched in.
Could you paste your .env.development
file with the secrets replaced?
from gatsby-mail.
Here it is:
# move this to .env.development to develop locally!
# conversely .env.production if building locally
GATSBY_OG_APP_ID=96a66e07-08c8-480e-b0f5-5c7617987ec3
# https://github.com/settings/tokens
GITHUB_API_TOKEN='xxx'
from gatsby-mail.
I created a personal token on https://github.com/settings/tokens and another on https://www.onegraph.com/. I don't know which one I'm meant to use or how to validate it. :/
from gatsby-mail.
You can feel free to message me a zip of your project or something on Twitter (schaudustin) or e-mail at dustin @ gatsbyjs dot com
I didn't change anything from your original repo, I just want to see how it works. The problem seems to be related to the access to env variables or the access to graphql.
from gatsby-mail.
Related Issues (12)
- messages payload is empty HOT 3
- sending emails gives a 403 HOT 8
- add pagination
- What Github API Key Scope(s) should be included HOT 2
- Use dark mode (by default) if enabled with MacOS mojave
- Trouble with installation instructions, throwing errors HOT 2
- TypeError: getNodesByType is not a function
- "Sign in with Google temporarily disabled for this app" HOT 9
- Thanks for building this HOT 1
- Cannot query field "github" on type "Query" HOT 2
- disabled Gmail API throws an ui error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-mail.