Find answers from the community

Updated last month

Gemini

At a glance
hi,

anybody using gemini

this error

"""
403 Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API
"""

normal python curl script , with same api key from the same server
works absolutely fine

but when i use

from llama_index.llms.gemini import Gemini
llm = Gemini(model=model_name, api_key=api_key)

Api replies with 403 error
L
a
3 comments
It works fine for me, never seen this before
It's using their Google.generativeai library under the hood
Some weird issue on my server

Seems its not able to create pthread, anyway i will just use another server
Add a reply
Sign up and join the conversation on Discord