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

Emulator: Function 'executeFullIndexOperation is missing a trigger in extension.yaml #221

Open
benomatis opened this issue Aug 29, 2024 · 0 comments

Comments

@benomatis
Copy link

When I start the firebase emulator, I get following errors:

Function 'executeFullIndexOperation is missing a trigger in extension.yaml. Please add one, as triggers defined in code are ignored.

...and further down...

✔  functions: Loaded functions definitions from source: executeIndexOperation, executeFullIndexOperation.
✔  functions[europe-central2-ext-firestore-algolia-search-executeIndexOperation]: firestore function initialized.
⚠  Unsupported function type on ext-firestore-algolia-search-executeFullIndexOperation. Expected either an httpsTrigger, eventTrigger, or blockingTrigger.
i  functions[europe-central2-ext-firestore-algolia-search-executeFullIndexOperation]: function ignored because the unknown emulator does not exist or is not running.

I did check your extension.yaml and indeed, it doesn't seem to have a trigger executeFullIndexOperation. Is this normal?

With this error I'm forced to turn off the extension in the emulator otherwise I document in the collection cannot be touched, I get unknown errors from firestore.

This is only happening in the emulator, I have the extension activated online, and it works perfectly.

Disabling Full Index isn't changing anything, I must exclude the extension when starting the emulator, otherwise I cannot use the app locally for anything that touches the collection the extension uses.

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