Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial Updates ACLs #72

Closed
eshlox opened this issue May 22, 2020 · 1 comment
Closed

Partial Updates ACLs #72

eshlox opened this issue May 22, 2020 · 1 comment

Comments

@eshlox
Copy link

eshlox commented May 22, 2020

Do I need any additional ACL for partial updates? According to the documentation, addObject should be enough:

Required API Key: any key with the addObject ACL

My index ACLs:

image

Error:

9:20:11 AM: Algolia: query 0: executing query
9:20:11 AM: Algolia: query 0: graphql resulted in 67 records
9:20:11 AM: Algolia: query 0: starting Partial updates
9:20:12 AM: 
9:20:12 AM: error failed to index to Algolia
9:20:12 AM: 
9:20:12 AM: 
9:20:12 AM: 
9:20:12 AM:   AlgoliaSearchError: Method not allowed with this API key
9:20:12 AM:   
9:20:12 AM:   - AlgoliaSearchCore.js:377 success
9:20:12 AM:     [repo]/[gatsby-plugin-algolia]/[algoliasearch]/src/AlgoliaSearchCore.js:377:    32
9:20:12 AM:   
9:20:12 AM:   - runMicrotasks
9:20:12 AM:   
9:20:12 AM:   - task_queues.js:97 processTicksAndRejections
9:20:12 AM:     internal/process/task_queues.js:97:5
9:20:12 AM:   
9:20:12 AM: 
9:20:12 AM: 
9:20:12 AM: not finished onPostBuild - 1.363s

gatsby-config.js, query data

@eshlox
Copy link
Author

eshlox commented May 23, 2020

Search API logs are quite useful! Partial updates require browse ACL.

image

It works now.

@eshlox eshlox closed this as completed May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant