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.
I have the same issue and I am using the following:
For the Frontend this.client = new StreamChat("69XXX");
For the Backend at settings.py STREAM_API_KEY = "g4eXXXXXXXXX" STREAM_API_SECRET = "4wyXXXXXXXXX..."
I have the Chat.js and settings.py files updated with the same API key. Is there somewhere else the API key needs to be set that I missed?
The problem is that the Django User ID is an integer and the Chat is missing some code. Following my examples:
github.com/rhenter/stream-chat-api github.com/rhenter/stream-chat-react
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
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
I have the same issue and I am using the following:
For the Frontend
this.client = new StreamChat("69XXX");
For the Backend at settings.py
STREAM_API_KEY = "g4eXXXXXXXXX"
STREAM_API_SECRET = "4wyXXXXXXXXX..."
I have the Chat.js and settings.py files updated with the same API key. Is there somewhere else the API key needs to be set that I missed?
The problem is that the Django User ID is an integer and the Chat is missing some code.
Following my examples:
github.com/rhenter/stream-chat-api
github.com/rhenter/stream-chat-react
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