diff --git a/gatsby-source-graphcms/README.md b/gatsby-source-graphcms/README.md index 691c9b7..f5a83fb 100644 --- a/gatsby-source-graphcms/README.md +++ b/gatsby-source-graphcms/README.md @@ -353,3 +353,19 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d + +## FAQs + +
+ "endpoint" is required + + If you are using environment variables, make sure to include `require("dotenv").config();` inside your `gatsby-config.js`. + + If it's already included, make sure you have your ENV variable added to `.env`, or `.env.local` without spaces. +
+ +
+ "message": "not allowed" + + This error occurs most likely if your token doesn't have access to the `PUBLISHED` content stage. Configure your token to also access `PUBLISHED`, or specify `stages: ["DRAFT"]` to the options inside `gatsby-config.js`. +