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
Copy file name to clipboardExpand all lines: gatsby-source-graphcms/README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -353,3 +353,19 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
353
353
<!-- prettier-ignore-end -->
354
354
355
355
<!-- ALL-CONTRIBUTORS-LIST:END -->
356
+
357
+
## FAQs
358
+
359
+
<details>
360
+
<summary>"endpoint" is required</summary>
361
+
362
+
If you are using environment variables, make sure to include `require("dotenv").config();` inside your `gatsby-config.js`.
363
+
364
+
If it's already included, make sure you have your ENV variable added to `.env`, or `.env.local` without spaces.
365
+
</details>
366
+
367
+
<details>
368
+
<summary>"message": "not allowed"</summary>
369
+
370
+
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`.
0 commit comments