DEV Community


Discussion on: Python Chat Tutorial with Django and React

nickparsons profile image
Nick Parsons Author

Happy to help. Any chance your API key is mixed up / not the same between your app and server-side code? This would throw that kind of error.

zedgr profile image

I have the same issue and I am using the following:

For the Frontend
this.client = new StreamChat("69XXX");

For the Backend at

clinggit profile image
Chia Ling

I have the Chat.js and files updated with the same API key. Is there somewhere else the API key needs to be set that I missed?

Thread Thread
rhenter profile image
Rafael Henter • Edited

The problem is that the Django User ID is an integer and the Chat is missing some code.
Following my examples:

PS: In the React Project I didn't create a Custom Readme, so you must to add you credentials on Chat.js if you wore to try to use

Forem Open with the Forem app