sydney.py: sydney.exceptions.CreateConversationException: Failed to create conversation, received status: 404
i got this error, its weird that i have 404 error code for accessing copilot in python. It was fine few days ago and i dont really use bing chat that much. I’ve tried to switch account (and also changing the cookie) but still got the error
if i go to copilot myself, its all 100% fine. here is my code (same as in the page description)
import asyncio
from sydney import SydneyClient
import os, json
with open("credentials.json") as file:
credentials = json.load(file)
os.environ["BING_COOKIES"] = credentials["cookie"]
async def main() -> None:
async with SydneyClient() as sydney:
while True:
prompt = input("You: ")
if prompt == "!reset":
await sydney.reset_conversation()
continue
elif prompt == "!exit":
break
print("Sydney: ", end="", flush=True)
async for response in sydney.ask_stream(prompt):
print(response, end="", flush=True)
print("\n")
if __name__ == "__main__":
asyncio.run(main())
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 17 (5 by maintainers)
Thanks!! now its all working. altho sometime i have to check the captcha manually but i dont really mind.
Hello @vsakkas, it’s working without cookie with your last version. I no longer have the 404 error.
Thank you !