Gatsby-source-prismic - unable to access the Prismic repository

hi @Pau

We seem to be having the same issue and cannot get pass error below. We've checked and we are setting up our plugin correctly in gatsby-config.

Please let us know what else we could check. We are also looking in case its a firewall issue.

Error

Invalid plugin options for "gatsby-source-prismic":


gatsby-source-prismic(REPO_NAME) - Unable to access the Prismic repository. Check the repository name. If the repository is secured, provide an access token.

gatsby-config.js

    {
      resolve: `gatsby-source-prismic`,
      options: {
        repositoryName: process.env.GATSBY_PRISMIC_REPO_NAME,
        accessToken: process.env.PRISMIC_ACCESS_TOKEN,
        customTypesApiToken: process.env.PRISMIC_CUSTOM_TYPES_API_TOKEN,
        linkResolver: (doc) => linkResolver(doc),
        schemas: {
          article_template: require('./custom_types/article_template.json'),
          author: require('./custom_types/author.json'),
          award: require('./custom_types/award.json'),
          category: require('./custom_types/category.json'),
          culture_blog_post: require('./custom_types/culture_blog_post.json'),
          faq: require('./custom_types/faq.json'),
          navigation: require('./custom_types/navigation.json'),
          price_card: require('./custom_types/price_card.json'),
          redirect: require('./custom_types/redirect.json'),
          section: require('./custom_types/section.json'),
          site_configuration: require('./custom_types/site_configuration.json'),
          template_page: require('./custom_types/template_page.json'),
          testimonial: require('./custom_types/testimonial.json'),
          theme: require('./custom_types/theme.json'),
          video_portal: require('./custom_types/video_portal.json'),
        }
      },
    },