Services Plugins FAQs

Search and autocomplete not working with external API

I’m trying to set a plugin to get data from API and show that data in repeating group. Any idea why it’s not working

API Response with set value of search parameter.

{
    "id": 3624,
    "name": "Teterboro",
    "city": "Teterboro",
    "state": "",
    "country": "United States",
    "iata_code": "TEB",
    "icao_code": "KTEB",
    "lat": 40.850103,
    "lng": -74.060837,
    "max_path_len": 0,
    "timezone": "America/New_York"
},
{
    "id": 222,
    "name": "Cheikh Larbi Tebessi",
    "city": "Tebessa",
    "state": "",
    "country": "Algeria",
    "iata_code": "TEE",
    "icao_code": "DABS",
    "lat": 35.431611,
    "lng": 8.120717,
    "max_path_len": 0,
    "timezone": "Africa/Algiers"
}

]

I made it get the results but the plugin returns an error

The plugin Fuzzy search & Autocomplete / element Search & Autocorrect threw the following error: Error: Recursion when evaluating property AAE on element “Search&Autocorrect A” at Object.evaluate_property (https://charter-app.bubbleapps.io/package/run_debug_js/691455c524ef831297f6231042bcec80fcb87739d6d78b28693208b153305da8/xfalse/x26/run_debug.js:137:93191) at _eval_prop (https://charter-app.bubbleapps.io/package/run_debug_js/691455c524ef831297f6231042bcec80fcb87739d6d78b28693208b153305da8/xfalse/x26/run_debug.js:582:15866) (please report this to the plugin author)

Clear errors

Hello @flights365,

Thank you for reaching out.

Please inspect the page using the Bubble debugger to ensure that the search result is not empty. The Fuzzy Search Plugin can accept data from an external API connector and search, but it depends on the external API. Also, it is mandatory that this data from your API must be text and compatible. For more detailed information, regarding the API, you can read here:Search and Auto Correct with an external API - #5 by RobAtMeetSunday - Plugins - Bubble Forum

I would also advise to check the documentation and visit the demo editor page for setup examples.

Should you have any further questions, please don’t hesitate to get in touch.

Cheers!