use AI (API Gemini) with varest in project

i want use ai in my project.
use api gemini.
but when click on button show error 400.

This is a web error code see 400 Bad Request - HTTP | MDN

The blueprint structure is correct?
Do you know how to solve it?

i got api from google ai studio.

Hi @Michelangelo_AI ,
Google now requires everything to have a passkey individual to them and this must be sent with the transaction. Just logging in is no longer the way.

Microsoft AI requires two passkeys to work.

GitHub AI needs multiple credentials to be registered with them.
Is your Digital Certificates up to date?

Please read

Authenticate to AI Applications | Google Cloud

Authentication methods at Google for AI| Google Cloud

Looking at the Blueprint there is not anything adding credentials

1 Like



i check api in this website and it is ok.

i create two , blueprint to do this. but still error remained.

first design:

and second design:

Hi, Sorry no idea, most of the time its authentication.
You need to retrieve the output message from Blueprint, check it, and then submit it manually. Next, check the response text, which is a response page with details on why the server did not like your request.
All AI servers use same protocol its called Open AI

1 Like