ChatGPT
ChatGPT copied to clipboard
error while getting data
{ "status": false, "error": { "message": "An error occurred. please try again. Additionally, ensure that your request complies with OpenAI's policy.", "type": "invalid_request_error" }, "support": "https://discord.pawan.krd" }
this is the error I a getting
Can you show us how are you making the request to the api?
@sudityashrivastav Your request should not contain anything against OpenAI policy
I'm running it on my LA server.
curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello!" } ], "stream": false }' {"status":false,"error":{"message":"Error getting a new session, If this error persists, your country may not be supported yet. If your country was the issue, please consider using a U.S. VPN or a U.S. residential proxy.","type":"invalid_request_error"},"support":"https://discord.pawan.krd"}
I'm running it on my LA server.
curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello!" } ], "stream": false }' {"status":false,"error":{"message":"Error getting a new session, If this error persists, your country may not be supported yet. If your country was the issue, please consider using a U.S. VPN or a U.S. residential proxy.","type":"invalid_request_error"},"support":"https://discord.pawan.krd"}
I had the same problem. Did you solve it
I'm running it on my LA server.
curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{ "model": "gpt-3.5-turbo", "messages": [ { "role": "user", "content": "Hello!" } ], "stream": false }' {"status":false,"error":{"message":"Error getting a new session, If this error persists, your country may not be supported yet. If your country was the issue, please consider using a U.S. VPN or a U.S. residential proxy.","type":"invalid_request_error"},"support":"https://discord.pawan.krd"}
Your country may be blocked from accessing chat gpt without login. Try go to chatgpt.com on a new browser If you can't access it it means your country is blocked.
@somenzz The project is still working. The only issue, I believe, is that your IP might be blocked by OpenAI, or you need to use a good IP address. Note that you have a very small chance of success using VPS, shared hosting, or shared IPs. You must use a residential IP to be able to access it.
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to
https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...
Its possible that they are banning your server's ip temporary
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to
https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...Its possible that they are banning your server's ip temporary
The banned timing seemed very short, I sent it a few times, then I got an error, sent it again normally, In ten attempts, there may be two to three errors...😂
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to
https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...
Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to
https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.
But I have to use vps because openai is not allowed in my country... 😭
@PawanOsman Hi, I also deployed it to the vps in Los Angeles, but it was unstable, and I always encountered this error frequently. It must not be that the ip was banned, otherwise I would not receive a response. I directly connected the xray proxy on this vps in my local Windows. And it can be used normally without logging in to
https://chat.openai.com/
in the browser, and the response speed is normal. I do not know how to solve this problem😢...Using a VPS IP can easily trigger cloudflare's robot identification mechanism, so there is a high probability that your IP cannot pass the verification of real people and robots.
But I have to use vps because openai is not allowed in my country... 😭
Me too but the best solution is to use a rotating residential us proxy. I'm using the proxy from proxyscrape.com