While I was running the program of my chatbot in Python, when I give a prompt to the chatbot it shows this error:
Extra data: line 2 column 1 (char 58894)
The chatbot uses the hugchat JSONimported from the cookies editor through the hugchat site.
I don’t know why is it saying extra data like it was normal before.
Joshua Steven Sastry is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1
If you have already used a JSON validator online or with python, you can make sure to clean (Remove comments or extra characters) the data to only keep what HugChat needs
alex mounka is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.