The first step to troubleshoot this issue would be to check that you have provided a valid API key for the LLM model you have chosen.
If the API key is correct, then you will need to follow the instructions here Whitelisted domains | DocSearch by Algolia to whitelist the page's domain on the AskAI dashboard.
For other common API errors you can also refer to our DocSearch Doc here: Ask AI Errors Reference | DocSearch by Algolia