#Simple C# example gives "bad request"

1 messages Β· Page 1 of 1 (latest)

white isle
#

No matter what I do, I get either a bad request or unauthorized. I'm using Pawan's ChatGPT C# API too.

            {
                BaseUrl = "https://api.pawan.krd/gpt-3.5-unfiltered/v1",
                Model = "gpt-3.5-unfiltered"
            });

            string Response = await ChatBot.Ask("What is 2 + 2?");```

returns ``400 (Bad Request)``.

According to the bot:
πŸ”‘ Your key: <REDACTED>
πŸ’΅ Daily Credits: 250.00
πŸ’΅ Wallet: 451.80

πŸ’΅ Your Total Credits: 701.80

 πŸ“ˆ Total Invites: 0

 πŸ•°οΈ Next Daily Credit Reset: 5:00 PM in 8 hours
#

I tried to fix it with /resetip and now it's giving a 404 error instead

#

So using "https://api.pawan.krd/pai-001-light" instead worked, and so I chopped off the /v1 on the gpt-3.5 URL and it works. However it's just giving me "Error, Try Again". I know it's working because I can see it subtracting points from my daily limit.

hard badge