-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot chat to characters because of JSON error? #79
Comments
This error only occurs with chat2. All you have to do is go to the beta.character.ai website and open the chat with a character you want to chat with. Then you go to the link and change chat2 to chat like this: https://beta.character.ai/chat2?char=xxx That's it. You don't have to change anything in the code. |
@unhingedsoul Thanks, it works now:) |
It looks like there are some misunderstood things here, so I think I should note something. The error occurred because the server's response to the API request wasn't JSON; probably it is returning: |
@Karvp Nope, It has a chat history...like a really REALLY long chat history... Its been around 2 weeks since I've been chatting with this bot using this code |
Also, it seems that CharacterAI is using CloudFlare now? Could that be interfering with the code? |
@jynn12 As long as you don't spam requests, imo :v |
@Karvp Nah, the same code works on other characters, but not on the one I am using. Its chat and not chat2 btw |
Seems tricky. Try inspecting the code 😄 Btw, srr for the unclear reply |
@Karvp Well, when I wrote this code, only me and God knows how it works. Now only God knows... I'll try stripping the other functions from the code and will update here... |
im also using chat instead of chat2, but in my case, its works on one history of a character but not on other. oh, also it gives me this on |
oh nvm, i did not notice that second history was using chat2, but for anyone wondering this fix from above should do:
(i get other error tho, but i think thats a separate issue) edit: the other error was from pprint |
Hey, So I've tried to use the input the following link: But i received the following error
|
@AaronJohnson02 In your case, just check ur token |
check with the new version |
When I enter the character URL, I get this error
The text was updated successfully, but these errors were encountered: