{Error communicating with the OpenAI API} Help!

Hi, I am trying to link my app to the OpenAI API, I followed every step of the instructions to set it up, but in the end, using Postman to test the Endpoint by sending a POST request
it showed “Error communicating with the OpenAI API” I really do not know which part is wrong, anyone can get me out here. Please Help me

Welcome to the community.

Not a lot right here.

For a start the path is wrong. Open AI does not sit on your localhost.

Secondly watch your parameters they don’t look correct.

Study the API docs

https://platform.openai.com/docs/api-reference/chat/create

And

https://platform.openai.com/docs/guides/text-generation/quickstart

2 Likes

Hi, Merefield
thanks for your reply. What I am doing is linking my app to the OpenAI API
I tried everything but still had errors communicating with openAI API. anyone can help me get through this. I will be appreciated:pray: :pray: :pray: :pray:

429 - Rate limit reached for requests Cause: You are sending requests too quickly.
Solution: Pace your requests. Read the Rate limit guide.
429 - You exceeded your current quota, please check your plan and billing details Cause: You have run out of credits or hit your maximum monthly spend.
Solution: Buy more credits or learn how to increase your limits.