https://discord.gg/botpress logo
How to initialize webchat with a custom user from ...
# 🤝help
e
I need to relate the users of my page with the users of the webchat, but when using the hook to initialize the webchat with the user data I provide, I get a 404 in the response. const { client, messages, isTyping, user, clientState, on } = useWebchat({ clientId: "", botId: '', user: { userId: auth.userId, userToken: auth.userKey, }, });
w
404 probably means one of the ids being passed is incorrect
can you check if they exist/are correct?
3 Views