Error: container must be string or HTMLelement. Unable to find #search-input

I am following the Algolia and InstantSearchJs simple tutorial just to get a basic search working and I have the API linked and all the same code from the tutorial copied but it doesn’t seem to recognize the instantsearch code.

I get the following error as well. and when i try to search in the search box no results come up.

Error: container must be string or HTMLelement. Unable to find #search-input
I am using a c# .net web forms app and including this into my master page.
Thanks for any help.

Solved – Just had the js files included in the wrong spot.

Hi,

Thanks for letting us know!

Have a nice day,

Ronan