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,
},
});