-
Notifications
You must be signed in to change notification settings - Fork 41
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
Allow duplicate params when crafting the request #68
Comments
@pvazqu1 The intent is that passing the list is the correct approach for having multiple values, so we'll look into this and see why that isn't having the intended effect. |
@pvazqu1 Hi! Just a side note, the example you give you used
I tried the |
Hey guys, do you have an estimate regarding when this will be fixed? For now I'm just using a work around but it would be awesome just to use this client. Thanks! |
@pvazqu1 No estimate yet... it looks like the bug has been around a while so we're investigating it to see if/how it ever worked. |
@pvazqu1 You uncovered quite a can of worms with our APIs that accept duplicate query string parameters. we're still working on a solution that won't break all existing clients. |
@AaronAtDuo I understand. Sorry about that 😣 |
@pvazqu1 We've determined that having the duplicate query string parameters option was not going to be feasible, so our engineers are working on introducing a new way of specifying multiple users. When that's ready we'll update this SDK. |
@pvazqu1 The new bulk endpoints that handle multiple parameters better have been released. The new way to retrieve multiple users is via the Since this new parameter will just be a string, I think it should work with the existing client, but we haven't tested it yet; let us know if there's problems please. |
According to the API documentation (retrieve-users), to retrieve specific users you need to specify the params like this:
On my request I've done something like this:
As a response I'm getting information about only one user. I believe the problem is that the
addParam
method is adding fields to a TreeMap:Since we can't have duplicate keys, we can't search for multiple users. I've also noticed that you can set a List as value on the
addParam
method. Something like this:But that's also not working, the raw response is:
The text was updated successfully, but these errors were encountered: