400 Client Error: Bad Request for url

Problem description:
I’m running Python code within a Repl Shell Python interpreter session that hits the OpenAI API with a completion prompt and gets a response back. I’ve run it successfully, several thousand times. Most recently until two days back.

Expected behavior:
Should run without error

Actual behavior:
400 Client Error: Bad Request for url: https://kv.replit.com/v0/eyJhbGciOiJIUzUxMiIsImlzcyI6ImNvbm1hbiIsImtpZCI6InByb2Q6MSIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJjb25tYW4iLCJleHAiOjE3MDQwMTI1NDQsImlhdCI6MTcwMzkwMDk0NCwiZGF0YWJhc2VfaWQiOiI4OTQ4ZDc4OC0wZTlmLTQ5NzQtOGRhMy05ZTYzY2JjNWNhODYiLCJ1c2VyIjoiYW50YXJheGlhMSIsInNsdWciOiJNZWRNZW51LWJhY2tlbmQifQ.7oY-x4G2HWC0adfnk6d9xfM--uwy5JmGn2cMLJxqK5dnbXkshVcqtwopqUplxwQwEyVwWlk8UmAOXwbvpNOHRQ

Steps to reproduce:
Difficult to say this, because I’m basically running Python code within a Replit Shell interpreter.

Bug appears at this link:
Pasted above.

Browser: : Running from Brave, but this isn’t a browser bug.
OS:
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Replit Core): - Hacker

:wave: Welcome back @antaraxia1!

Please send the link to your Repl where this issue is happening, or a minimal Repl which reproduces the issue.

Hey @antaraxia1!

This actually isn’t an issue with your code at all, it seems the Replit DB servers are just having some slight issues atm, perhaps it’ll work if you just try it again?

Yeah, it’s in Bug Reports instead of Code Help

1 Like

I’ll check if this issue is still persistent or not, but I cannot send a replit link becuase it is a private deployment. Is there some other way to debug this? I’m happy to hop on a zoom call for a live debug session if that’s helpful.

Perhaps you could make a new Repl with minimal data in it that can be public?

2 Likes