Skip to main content

Bonsai Search SDK

  • Confirm api-key is present and valid.
  • Check base-url points to the correct environment.
  • Inspect the browser console for network or CORS errors.
  • Ensure suggestions is a valid JSON array string.
  • Use single quotes around the attribute and double quotes inside the array.
  • Remember the component uses a closed shadow root.
  • Use CSS variables on <bonsai-search> or ::part(...) hooks.
  • Verify your CSS is loaded after the component script.
  • Increase timeout-ms for slower networks.
  • Check ad blockers or CSP rules that might block the API domain.

Support

If you encounter any issues during integration or need assistance with customization, please contact your Customer Success Manager or reach out to our support team.