cedricdelpoux / gatsby-source-google-docs

Gatsby plugin to use Google Docs as a data source
https://cedricdelpoux.github.io/gatsby-source-google-docs/
MIT License
211 stars 55 forks source link

source-google-docs: Expected property name or '}' in JSON at position 1 #233

Open renenadorp opened 1 year ago

renenadorp commented 1 year ago

Gatsby build fails with error source-google-docs: Expected property name or '}' in JSON at position 1

Versions:

Gatsby.config.js:

/**
 * @type {import('gatsby').GatsbyConfig}
 */
module.exports = {
  siteMetadata: {
    title: `pkm`,
    siteUrl: `https://www.yourdomain.tld`
  },
  plugins: ["gatsby-plugin-postcss", "gatsby-plugin-mdx", {
    resolve: "gatsby-source-google-docs",
    options: {
        // https://drive.google.com/drive/folders/FOLDER_ID https://drive.google.com/drive/folders/15DxH7Yrn_EnbnMqNmZ766j5woMAectFN
        folder: "15DxH7Yrn_EnbnMqNmZ766j5woMAectFN",
        createPages: true,
    },
},
  ]
};

I've followed instructions described in https://www.gatsbyjs.com/plugins/gatsby-source-google-docs/.

I'm stuck now.