to get a personalized navigation.
to get a personalized navigation.
When trying to filter customer on attribute, i get response 500. Is this a known bug or im i doing something wrong?
Response
Hi,
We have been able to reproduce this and will open a case with the development team.
We'll get back to you as soon as we have more information.
Hi,
We have checked this, and with encoding it works as expected.
E.g:
Customer?attributes=%7B"Test":"TestValue"%7D
Have you recently implemented this, or do you have a date of when it was working for you previously?
Thank you.
I have used this for a long time, but havent noticed when it stopped working. Im developing a new integration now and during debugging i found it no longer works.
Ill try with endcoding.
Ok, thank you.
Have you noticed that previous integrations have stopped working? Or is it as of now, only recent testing?
In your previous integrations, do you encode all special characters?
I have not used encoding for this previously, so other integrations most likely fails because of this. But I use this to find a customer based on an external id, so if this request fails, i create a new customer instead. So everything works, but maybe not in the intended way. No client have yelled at me, yet anyways 🙂
Hi,
We have checked the logs extensively and it looks like all of your requests when searching for the attribute parameter has been been going through.
How many times did you experience this result?
From where did you make this request?
In our test we tried this in postman, and we have learned that postman no longer autoencode, which causes this issue as the brackets are now getting rejected by the server.
Hi again, returning to this thread when i think i have found the real issue.
My url is escaped fine and works: customer?attributes=%7B%22TESTID%22:%221518%22%7D
But when applying pagination it no longer works
customer?pageNumber=1&pageSize=10&attributes=%7B%22TESTID%22:%221518%22%7D
Hi,
We have tried this out and can't see any issues:
customer?pageNumber=1&pageSize=100&attributes=%7B%22test%22%3A%22testvalue%22%7D
What error are you getting now?
This is then problem with filtering and pagination -- also described here:
Copyright © 2022 Visma.com. All rights reserved.