Error invoking model response: Forbidden

Created on 20 February 2025, about 1 month ago

I entered the world of Drupal and AI to enhance my projects with a chatbot.

There for I used Search API to add a milvus collection server and added my indexes there.

Now I like to use the Chatbot, to ask against my data.
The Chatbot says something went wrong and watchdog: Error invoking model response: Forbidden

Tested the key from other clients and it works well. So maybe I got a wrong configuration or this is an other issue.

What model do I need to set for chat in the default AI settings?

Maybe someone had the same problem and could help fix it?

💬 Support request
Status

Active

Version

1.1

Component

AI Assistants API

Created by

🇩🇪Germany achikas Lower Saxony, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @achikas
  • 🇮🇳India naresh_bavaskar Pune, Maharashtra

    I am facing the same error
    not sure why the chat gpt models request parameter is not sent properly while sending request from Drupal chatbot

  • 🇬🇧United Kingdom MrDaleSmith

    The AI recipe for the Drupal CMS project contains working configuration for an AI Chatbot: it migt be worth in the first instance looking there to see if you can identify any issues with your set-up.

    The code that gives that particular error message has the comment "// Anything else is probably due to a bad request." so it would sound like the issue is with how you've set it up.

Production build 0.71.5 2024