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
"Requested resource doesn't exist" when hitting scroll param #185
Comments
That's results of my debugging.
io.intercom.api.HttpClient.executeHttpMethod() method, line 112
wrong URI (duplicated slash): https://api.intercom.io//users%2Fscroll Seems the http client builds wrong URI. client version 2.3.2 |
the same issue encountered for 2.2.11 version there's a guess that sdk version should be upgraded. Did anyone reproduced that besides me??? |
URIBuilder encodes "/scroll" to "%2Fscroll". This used to work until last week. Poking around, I found that perhaps intercom changed the server side configuration to disallow %2F in the URL |
Hey, guys. Is there any updates? |
Ping |
Thanks for the investigation @rcauligi and @mkaratkou I've created a pull request #186 that addresses this problem. Will try get this approved as soon as possible with a new release 👍 Seems that incorrect encoding has been going on from some time and it would have been a bug for our API to accept the incorrect encoding. So the PR I created was to fix this library to call the correct endpoint |
the 2.3.3 version is not uploaded into maven repository - http://jcenter.bintray.com/io/intercom/intercom-java/ Please upload the fixes. We really need them. |
@mkaratkou we're having a couple of issues publishing the latest release to bintray but we're working our best to publish. Is it possible to utilise the updated source https://github.com/intercom/intercom-java to use in your project in the mean time to unblock any work for you? |
Hitting the
scroll()
method on the User object returns a NotFoundException.This code returns the following 👇
Where
ApiTest.java:55
corresponds toScrollableUserCollection usersScroll = User.scroll();
Version info
Steps to reproduce
Logs
Scroll isn't hitting the
/users
endpoint at all as it's not being reachedThe text was updated successfully, but these errors were encountered: