Giter Site home page Giter Site logo

invalid_request_error about chatgpt HOT 18 CLOSED

TinkuMajhi avatar TinkuMajhi commented on August 16, 2024
invalid_request_error

from chatgpt.

Comments (18)

SleepInfinity avatar SleepInfinity commented on August 16, 2024

I have the exact same issue.
-2147483648_-215120

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

Please make sure to use a U.S. VPN,
you can't host it on cloud because your IP will be blocked by OpenAI,

you have to use a U.S. VPN or residential proxy

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

Please make sure to use a U.S. VPN, you can't host it on cloud because your IP will be blocked by OpenAI,

you have to use a U.S. VPN or residential proxy

I tried using US rotating proxy but the same error persist.

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@SleepInfinity as i said it should be a residential proxy, only residential proxies will work

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity as i said it should be a residential proxy, only residential proxies will work

It is a residential proxy from proxyscrape.com

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

Is there any way to make sure that the api is using that proxy?

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@SleepInfinity check this https://proxyscrape.com/products/residential-proxies/united-states

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity check this https://proxyscrape.com/products/residential-proxies/united-states

IMG_20240422_145029_023
Here is the account and its residential but I'm using the proxy on all the linux machine I added the proxy inside the /etc/environment file I don't know if this works but can you give me the syntax of the .env file to use the proxy.
Thankyou

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@SleepInfinity please check the .env.example file

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity please check the .env.example file

I tried the .env file but got the same error with a us proxy.
Should I use double Quotes for the username and password of the proxy inside the .env file?

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@SleepInfinity, make sure to set both PROXY and PROXY_AUTH to true. Also, ensure that you set the PROXY_HOST and PROXY_PORT correctly. Additionally, make sure to specify the correct proxy protocol.

You can also try to write the username and password between double quotes

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity, make sure to set both PROXY and PROXY_AUTH to true. Also, ensure that you set the PROXY_HOST and PROXY_PORT correctly. Additionally, make sure to specify the correct proxy protocol.

You can also try to write the username and password between double quotes

IMG_20240422_161554_656
I tried both with and without double quotes but still same error and also Im sure that the protocol is http as mentioned in the proxyscrape dashboard and also I tried the proxy with a simple python code and it works fine.

from chatgpt.

notV3NOM avatar notV3NOM commented on August 16, 2024

Im just getting empty responses now. Was working flawlessly until yesterday

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

Im just getting empty responses now. Was working flawlessly until yesterday

What you did to make it work?

from chatgpt.

notV3NOM avatar notV3NOM commented on August 16, 2024

What you did to make it work?

I did not have the issue you are facing

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity, make sure to set both PROXY and PROXY_AUTH to true. Also, ensure that you set the PROXY_HOST and PROXY_PORT correctly. Additionally, make sure to specify the correct proxy protocol.
You can also try to write the username and password between double quotes

IMG_20240422_161554_656 I tried both with and without double quotes but still same error and also Im sure that the protocol is http as mentioned in the proxyscrape dashboard and also I tried the proxy with a simple python code and it works fine.

My problem is now solved the app wasn't detecting and using the proxy inside the .env file but now with python everything is working properly and I think ill make the same app in python and share it is it possible?

from chatgpt.

PawanOsman avatar PawanOsman commented on August 16, 2024

@SleepInfinity, you must have done something incorrectly because the .env file is working fine, and the proxies are functioning properly with it.

Perhaps you have more knowledge about Python, that's why you couldn't set up this Node.js project.

from chatgpt.

SleepInfinity avatar SleepInfinity commented on August 16, 2024

@SleepInfinity, you must have done something incorrectly because the .env file is working fine, and the proxies are functioning properly with it.

Perhaps you have more knowledge about Python, that's why you couldn't set up this Node.js project.

Yes, anyways thankyou for your help πŸ˜„

from chatgpt.

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.