sambecker / exif-photo-blog

Photo blog, reporting 🤓 EXIF camera details (aperture, shutter speed, ISO) for each image.

Home Page:https://photos.sambecker.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI connection error: "The model `gpt-4o` does not exist or you do not have access to it."

javier3434 opened this issue · comments

commented

Describe the bug
Excuse me ,sir ,i encoutered an issue when i try to enable openai intergration.I have subscribed openai plus.and did it twice follow your instructions:
"Setup OpenAI
If you don't already have one, create an OpenAI account
Generate an API key and store in environment variable OPENAI_SECRET_KEY
Setup usage limits to avoid unexpected charges (recommended)"
but there is connection error occured.

Does your template use custom code?
i almost added nothing

Steps to Reproduce
1.set OPENAI_SECRET_KEY in .env.local or vercel env variables
2.redirect to /admin/configuration
3.error text ocurres

Screenshots
image
image

THANKS in advance for any advice.

That is quite odd.

How recently did you upgrade your OpenAI account?

Can you confirm your API key has adequate scopes/permissions? And the full key has been stored in your environment variables, and it's not missing any characters?

If nothing seems to help, it might be worth generating a new OpenAI key.

I am also facing this issue, but I do not hold a subscription - IG am on the free-tier but what do I do? 🤔

commented

oh i figured it out. Actually it requires 5$ at least recharge for chatgpt api account. instead of subscribe chatgpt plus.
check "https://community.openai.com/t/openai-error-invalidrequesterror-the-model-gpt-4-does-not-exist-or-you-do-not-have-access-to-it/376230" if someone have same issue...

oh i figured it out. Actually it requires 5$ at least recharge for chatgpt api account. instead of subscribe chatgpt plus. check "https://community.openai.com/t/openai-error-invalidrequesterror-the-model-gpt-4-does-not-exist-or-you-do-not-have-access-to-it/376230" if someone have same issue...

Ah! I see - alright!