Bug in UsersResponseUsersInner class with missing "full_name" field
Hello guys, I'm currently working on a Spring Boot project with Kinde. I'm trying to implement the feature to get all my users with the UsersApi using the kinde management api. The problem is that when I execute usersApi.getUsers(), it uses the UsersResponse type, which in turn uses the UsersResponseUsersInner type. In the UsersResponseUsersInner class, the "full_name" field is missing, and because of the implementation of this class, this error is triggered:
Error retrieving Kinde users: The field
full_name
in the JSON string is not defined in the UsersResponseUsersInner
properties. JSON: {"id":"random_id","email":"random_email","full_name":"random_full_name","last_name":"random_last_name","created_on":"2025-06-09T21:26:14.471781+00:00","first_name":"random_first_name","is_suspended":false,"last_signed_in":"2025-06-09T21:26:14.93068+00:00","total_sign_ins":1,"failed_sign_ins":0}
I'm using this version :
Can you help me with this problem please ?8 Replies
Hi,
Thanks for reaching out. I understand the issue and will raise it with the internal team. In the meantime, here are some recommended workarounds: 1. Ignore unknown fields: Configure your object mapper to ignore unknown properties. This will allow deserialization to succeed even if
Thanks!
Thanks for reaching out. I understand the issue and will raise it with the internal team. In the meantime, here are some recommended workarounds: 1. Ignore unknown fields: Configure your object mapper to ignore unknown properties. This will allow deserialization to succeed even if
full_name
is not explicitly defined. You may also consider implementing a custom deserializer that ignores unknown fields.
2. Use separate name fields: Instead of relying on full_name
, construct the full name using the first_name
and last_name
fields.
Let me know if this helps.Thanks!
Thank you for your quick response ! Ok I'll try the first solution but I think I'll need some help to implement it. I'm still a beginner with Kinde 😅 ...
Here what I have now.
Thanks for the follow-up.
To fix this, please configure Jackson to ignore unknown fields globally:
This ensures the missing
Let me know if this helps, Thanks
To fix this, please configure Jackson to ignore unknown fields globally:
This ensures the missing
full_name
field (and any other unknown fields in the future) won't break deserialization.
Then You can then safely build the full name yourself using:
Let me know if this helps, Thanks
I created the JacksonConfig class
But the error is still here : /
Here's the full error
Oh Claude Sonnet 4 found this solution ! It's not very clean but it's work haha
That’s great to hear, glad you were able to sort it out on your end!
Thanks for keeping me updated. If you run into anything else or need support implementing other Kinde features, feel free to reach out anytime.
Thanks
Thanks
Tank you very much for your help !