Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to call the listPeopleConversations method #8

Closed
vrochamaia opened this issue Jan 31, 2019 · 3 comments
Closed

Not able to call the listPeopleConversations method #8

vrochamaia opened this issue Jan 31, 2019 · 3 comments
Labels

Comments

@vrochamaia
Copy link

Hi,

I'm trying to get all the conversations by the a specific user using the following method

CrispClient.websitePeople.listPeopleConversations(process.env.CRISP_WEB_SITE_ID, people.people_id, 0)

I'm quite sure that the websiteId and peopleId are correct, but actually I'm receiving an exception like this: {"reason":"error","message":"not_found"}. And yes, the peopleId specified have more than one conversation.

Besides that, the method is not on the README.md file of this repository, but it's on the source code as I already checked.

Am I doing something wrong? Thanks in advance.

@valeriansaliou
Copy link
Member

Hi there! I think this undocumented function is hitting a "not_found" API route, checking this. I'll be back soon!

@valeriansaliou
Copy link
Member

Hi again. Found an issue in the route as expected. Fixed & updated the library on NPMJS, you can bump to v1.8.1 and let me know if that works for you.

@vrochamaia
Copy link
Author

Yeah, it's working now! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants