DEV Community

Discussion on: Python Chat Tutorial with Django and React

Collapse
 
xjdevto profile image
xjdevto

Same error here.

Error: userToken does not have a user_id or is not matching with user.id

All I changed:

mychat/settings.py on line 47 and 48 => 4tk***, zgbw6*********************************
chat-frontend/src/Chat.js on line 17 => this.client = new StreamChat("60XXX");