algolia / algolia/algoliasearch-netlify

Unable to manage plugin through netlify.toml

Open
#207 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
265
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi,

I enabled this plugin for my Netlify site by following the documentation.

However, I like to manage my plugins and environment variables through my *netlify.toml* file. So, I removed those environment variables and plugin from the Netlify website and added the following to *netlify.toml*:

```
...
ALGOLIA_API_KEY = "..."
ALGOLIA_BASE_URL = "https://crawler.algolia.com"

[[plugins]]
package = "@algolia/netlify-plugin-crawler"
```

On doing so, Algolia removed the crawler after sometime with the following error: *Algolia can no longer access your Netlify Site "...".* This shouldn't have happened, right? Or did I do something wrong?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the plugin documentation and the reported netlify.toml configuration, including the ALGOLIA_API_KEY and ALGOLIA_BASE_URL variables. Reproduce the setup with the [[plugins]] entry and determine why the crawler becomes inaccessible; done means the plugin can be managed through netlify.toml without being removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.