Coder Social home page Coder Social logo

Comments (7)

moritz-t-w avatar moritz-t-w commented on June 5, 2024

I've gotten that a few times, just try again later, OpenAI have quite the outage problem.

from shell_gpt.

TheR1D avatar TheR1D commented on June 5, 2024

Closing this issue, since the issue not on ShellGPT side.

from shell_gpt.

aftab0094 avatar aftab0094 commented on June 5, 2024

I have tried it many times but it always gives this error also tried to use a different api key but failed now this is a problem facing for 3 days I would be happy if i get a better recommendation.

from shell_gpt.

moritz-t-w avatar moritz-t-w commented on June 5, 2024

https://help.openai.com/en/articles/6891839-api-error-code-guidance

@TheR1D it seems like 404 is used in nonstandard ways and maybe there is something that could have been done clientside, maybe something with organizations. I think it's time to use the sdk
#352

from shell_gpt.

denniswebb avatar denniswebb commented on June 5, 2024

I have tried it many times but it always gives this error also tried to use a different api key but failed now this is a problem facing for 3 days I would be happy if i get a better recommendation.

Are you sure you have credits in your OpenAI account? I started to get these and realized I had ran out of credits and had auto-recharge turned off.

from shell_gpt.

TheR1D avatar TheR1D commented on June 5, 2024

@aftab0094 Try to make a request from your shell with your API key:

export OPENAI_API_KEY=your_api_key
curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
    "model": "gpt-3.5-turbo",
    "messages": [
      {
        "role": "system",
        "content": "You are a helpful assistant."
      },
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'

And share the response.

from shell_gpt.

TheR1D avatar TheR1D commented on June 5, 2024

I think this might be helpful:
https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4

If you're a Pay-As-You-Go customer and you've made a successful payment of $1 or more, you'll be able to access the GPT-4 API (8k).

Or try to change your default model to gpt-3.5-turbo

from shell_gpt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.