Hi, I have a question, why when I update user meta...
# support-questions-legacy
i
Hi, I have a question, why when I update user metadata by id and user with this id doesn't exist in database, this process create a table entry with this id and data? Can I fix it or check existance of user in easy way?
r
hey @IaS1506
the usermetadata recipe is an independent recipe to the auth recipes, so it accepts any ID
to check if a user exists before, you can query the auth recipe that you use (for example thirdpartyemailpassword) to see if the user ID exists
it should have a function like
getUserbyId(...)
i
Or get user by cdi, ok, clear
Thanks
I still think it's not very correct to always return "OK" as a status, but okay