API Token must be provided

Hi @zxlvera

when using your gatsby project locally, your token must be saved inside .env file. And the variable name must match with the one you use in gatsby-config.js.

So, based on the screenshots you posted here, you should have a .env file with this content:

GATSBY_DATO_API_TOKEN=yourTokenHere

Does it work now?

1 Like