Skip to content

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

@renenadorp

Description

@renenadorp

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

Versions:

  • Gatsby: 5.11.0
  • Gatsby CLI: 5.11.0
  • Node: v20.2
  • npm: 9.8.0
  • os: MacOS 13.2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions