Gemini API Call

Database & APIs

I'm trying to set up Gemini in the API call section. (I've used the default Gemini integration, but would like some more control over system prompts etc.)

However, I keep getting error code 401, Unauthenticated, and a message that it requires a OAuth 2 access token or login cookie. It's strange because the same API key works fine with the default integration.

Does anyone know how to correctly set up a Gemini API Call?

What have you tried so far?

I also tried to create a GET request with the API key as a Query Parameter, but this did not work either.

Did you check FlutterFlow's Documentation for this topic?
No
1
2 replies