K
Kinde3mo ago
Debd

ManagementClient.get_user() returns 404

I have been trying to use the management client from kinde-python-sdk==2.0.10 to get a single user with client.get_user(user_id) but I keep seeing the error: (404)\nReason: Not Found\nHTTP response headers: HTTPHeaderDict({'Date': 'Mon, 01 Sep 2025 06:51:23 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '107', 'Connection': 'keep-alive', 'Vary': 'Accept-Encoding'})\nHTTP response body: {\t\t\t\"errors\": {\t\t\t\t\"code\": \"ROUTE_NOT_FOUND\",\t\t\t\t\"message\": \"The requested API route does not exist\"\t\t\t}\t\t}\n" client.get_users() works fine however. Can I have some hint how to make this work?
5 Replies
Abdelrahman Zaki - Kinde
Hi @Debd, Thanks for flagging this. I’ll investigate what’s happening with client.get_user(user_id) and get back to you shortly with more details. Hi @Debd, Thanks again for raising this. We’ve identified the issue with client.get_user(user_id) and have already raised a PR to address it. I’ll keep you posted and let you know as soon as the fix is live.
Debd
DebdOP3mo ago
Thanks for the update! Any idea when the fix might land? (2 days / a week / a month etc)
Abdelrahman Zaki - Kinde
Hi @Debd, the PR for this fix is under review at the moment. While I can’t share an exact timeline, it should move forward fairly soon. I’ll keep you updated as soon as it’s merged and available in a release. Hi @Debd, Thanks for your patience here. The fix has now been merged and published. Please update to the latest kinde-python-sdk and try again using:
user = client.get_user(id=user_id)
user = client.get_user(id=user_id)
Let us know how it goes!
Debd
DebdOP3mo ago
Thanks for letting me know. For now, I've switched to using http requests which are working fine!
Abdelrahman Zaki - Kinde
Hi @Debd, Glad you’ve got a working workaround for now! Just so you know, the latest kinde-python-sdk should have the fix in place, so whenever you’re ready you can switch back to using client.get_user(id=...) directly without the extra HTTP calls. No rush at all and if you run into any issues when updating, feel free to ping us anytime.

Did you find this page helpful?