getMessagesInConversation is returning "route does not exist"
Closed this issue · 1 comments
san425 commented
Hi there!
I'm not sure if I'm doing something wrong, but trying to access the messages in a conversation is returning a "route not found error."
My Code:
const messages = await CrispClient.website.getMessagesInConversation(websiteID, sessionID, timestampbefore);
Error:
{
reason: 'error',
message: 'not_found',
code: 404,
data: {
namespace: 'response',
message: 'Got response error: the route does not exist'
}
}
I saw this: #8 but I'm not sure if this is an error on my part or something is wrong with the library. All of my website and session ids are correct. Including the timestampbefore
.
san425 commented
Yeah, actually, I had messed up! My bad, I'm gonna close this issue :)