Jekyll-algolia Plugin Error "Not enough rights to add an object" #5037
Replies: 1 comment
-
Well, I have found the problem. Because I applied for the Algolia DocSearch plan and DocSearch doesn't provide the admin API key. I have now re-applied for the Algolia Build plan and have resolved the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I encountered an issue when using the Jekyll-algolia plugin to build the index, and I hope someone can help me resolve it.
Problem Description
When running the following command:
bundle exec jekyll algolia
I received the following error:
Environment Information
Here are the details of my project environment:
Gemfile Configuration
Below is the content of my
Gemfile
:I have already run
bundle install
andbundle update
, and no errors occurred during these steps.Plugin Configuration
My Jekyll-algolia settings in
_config.yml
are as follows:I have also added the admin API key (in fact I can only find write API Key as a private API key in my algolia dashboard which I treat as my admin API key, I'm not sure if there's a problem here) to the environment variables.
Actions Attempted
I created a test page in
_pages/index.md
and attempted to build the index usingbundle exec jekyll algolia
, but the error mentioned above occurred.Source Code
The code for my project can be found at this repo, and the pages currently hosted by GitHub Pages can be accessed at this website. The search function powered by algolia is currently enabled, but nothing can be searched.
Question
Thank you very much for any help, please let me know if more information is needed.
Beta Was this translation helpful? Give feedback.
All reactions