As of the release of version 1.9.0 of our AutoComplete library, there is now an expected behavior for Algolia to throw the following error if the searchClient is not present in several AutoComplete functions and Plugins.
Uncaught (in promise) TypeError: can't access property "headers"
For example if the AutoComplete getAlgoliaResults function doesn't contain the searchClient as shown in our documentation then you will receive this error.
The same is true for our createQuerySuggestionsPlugin. If the searchClient is absent, then the same TypeError will be thrown.
To resolve this we recommend updating your code to include the searchClient in all places our documentation shows it in use. The TypeError will give you some information as to where in your code the searchClient is missing.
If you need a quicker short-term solution to help get your AutoComplete search working, you can resolve this error by pinning AutoComplete's libraries to version 1.8.3. Please note you will need to do this for all AutoComplete libraries you are using including plugins. If you are using CDN's to import these libraries, you must ensure that all of these links are targeting v1.8.3.