Services Plugins FAQs

Algolia 2.0 plugin throwing an error

Any idea what this one is?

Hi there @2706mason ,

Thanks for sharing the error details!

From the screenshot, the error seems to originate in the custom code of the Algolia Search V2.0 – Algolia Simple Search action:

TypeError: cb is not a function
at Object.processHits (PLUGIN_1540375783191x449334306062991400/Algolia-Search-V2.0-update--Algolia-Simple-Search-.js:36415)

This usually indicates that the plugin is expecting a callback function (cb) during the search results processing step, but it’s receiving something else (likely undefined).

A couple of things to double-check on your side:

  1. Workflow setup – please confirm which Algolia action you’re triggering (e.g., Initialize Simple Search, Update Simple Search, etc.) and how you’re passing parameters into it.
  2. Returned Data – ensure that the Algolia index you’re querying actually returns results in the expected structure (hits array). If the index or fields are misconfigured, the plugin might not be able to run its callback correctly.
  3. Version – make sure you’re running the latest version of the Algolia Search V2.0 plugin. We’ve patched similar callback issues in previous updates.

Could you please share:

  • Which action is throwing this error (from your workflow)?
  • The setup screenshot of that action (in your workflow editor).
  • If possible, the console output right before the error (to see what the plugin is receiving).

This will help us reproduce and check if it’s a configuration issue or if we should escalate to our dev team as a potential bug.

Looking forward to your reply so we can dig deeper

Best regards,
Support Team
Browse all Zeroqode Plugins for bubble
Banner_Last3