web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

ChatGPT - Api isn't working

(1) ShareShare
ReportReport
Posted on by 2
Hello,
 
my http-request to chatgpt always resuluts in this error:
 
Encountered internal server error. The tracking Id is 'c8b699f3-0424-4c5e-ba2d-8d328ab42e40'.
 
Thats the code I use, generated via playground.
 
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": [
        {
          "type": "text",
          "text": "Wie gehts?"
        }
      ]
    }
  ],
  "response_format": {
    "type": "text"
  },
  "temperature": 1,
  "max_tokens": 2048,
  "top_p": 1,
  "frequency_penalty": 0,
  "presence_penalty": 0
}'
 
 
 
Can someone help me?
 
 
I have the same question (0)
  • Suggested answer
    Artur Stepniak Profile Picture
    1,528 Super User 2025 Season 2 on at
    ChatGPT - Api isn't working
    Hello,
     
    can you try this one? You're missing a user role message - it's used to generate a response. System message that you've used is for instructing the model, like giving it a role or altering the output.
     
    curl -x 127.0.0.1:33210 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": "user", "content": "Say this is a test!"}], "temperature": 0.7 }'

    In case of any other questions, let me know. If the answer helped you, mark it, so that others can benefit from it.

    Best regards,

    Artur Stepniak

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard