#Could not reach OpenAI

20 messages · Page 1 of 1 (latest)

hallow pelican
#

please fix it.

hollow sable
hallow pelican
hollow sable
hard iron
#

I've got three different apps I've been building using openAI API keys. none of them are working now, and they all worked before. the Keys are not being honored for some reason, coming back as 'undefined'. has there been a change in format or something? I still have a balance remaining so I don't think that's the problem. this is incredibly frustrating, I've wasted three entire days on this issue and I'm about to poke my eyes out. someone please help

#

I'm getting the same server error in POST.

chilly cape
#

Ask Chat GPT to Build you a python script to test your API keys and parameters.

hallow pelican
#

I still have enough usage left as shown in the image above.

hallow pelican
hallow pelican
#

@chilly cape

#

openai's API server responds normally.

hard iron
#

i don't know what's going on with my computer. nothing seems to work! I tried to execute the python script I had chatGPT write for me. here's my result:

python3 try_api.py
Traceback (most recent call last):
  File "/Users/gideoncrawley/Projects/TryMyAPI/try_api.py", line 3, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'```
#

i installed requests. a couple times.

#

"import requests could not be resolved from source"

#

pip install requests shows 'Requirement already satisfied'.

#

if I comment out 'import requests', I get "No module named 'openai'. Even though I've installed it a number of times.

chilly cape
#

Restart PC maybe?

hard iron
#

think I'm going to have to. but I suspect is has something to do with my paths, multiple instances of python and node set up in different places.