Giter VIP home page Giter VIP logo

Comments (4)

eshlox avatar eshlox commented on May 24, 2024 2

I added Posts_tmp and it works now. Thanks!

from gatsby-plugin-algolia.

Haroenv avatar Haroenv commented on May 24, 2024 1

getSettings is required now too, sorry for not mentioning that in the changelog, that's my oversight!

from gatsby-plugin-algolia.

eshlox avatar eshlox commented on May 24, 2024

Thanks for the response! I've added settings ACL and it still does not work. 🤷‍♂

7:44:26 PM: Algolia: query 0: copying existing index
7:44:27 PM: error failed to index to Algolia
7:44:27 PM: 
7:44:27 PM:   AlgoliaSearchError: Index not allowed with this API key
7:44:27 PM:   
7:44:27 PM:   - AlgoliaSearchCore.js:377 success
7:44:27 PM:     [repo]/[gatsby-plugin-algolia]/[algoliasearch]/src/AlgoliaSearchCore.js:377:    32
7:44:27 PM:   
7:44:27 PM:   - runMicrotasks
7:44:27 PM:   
7:44:27 PM:   - task_queues.js:97 processTicksAndRejections
7:44:27 PM:     internal/process/task_queues.js:97:5
7:44:27 PM:   
7:44:27 PM:   - gatsby-node.js:85 async scopedCopyIndex
7:44:27 PM:     [repo]/[gatsby-plugin-algolia]/gatsby-node.js:85:22
7:44:27 PM:   
7:44:27 PM:   - gatsby-node.js:38 async doQuery
7:44:27 PM:     [repo]/[gatsby-plugin-algolia]/gatsby-node.js:38:7
7:44:27 PM:   
7:44:27 PM:   - async Promise.all
7:44:27 PM:   
7:44:27 PM:   - gatsby-node.js:70 async Object.exports.onPostBuild
7:44:27 PM:     [repo]/[gatsby-plugin-algolia]/gatsby-node.js:70:5
7:44:27 PM:   
7:44:27 PM: 
7:44:27 PM: not finished onPostBuild - 1.541s

It seems that the client.copyIndex operation fails: https://github.com/algolia/gatsby-plugin-algolia/blob/master/gatsby-node.js#L85 🤔

Any idea why this could happen? There is no big difference between version 0.5.0 and 0.6.0. According to the documentation, addObject ACL is required to make an index copy and it works with 0.5.0. 🤔

image

from gatsby-plugin-algolia.

Haroenv avatar Haroenv commented on May 24, 2024

Index not allowed with this API key, this didn't change since 0.5.0, but you need to also allow the index Posts_tmp

from gatsby-plugin-algolia.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.