loading...

re: Python Chat Tutorial with Django and React VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thanks for putting this together. I was able to complete steps 1-5. When I tried to complete Step 6 I get the following error message: Error: use...
 

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?

code of conduct - report abuse