f user_id is None:
        raise_bad_input_exception(&#34;Missing required parameter &#39;userId&#39;&#34;)

    user_response = await get_user(user_id, _user_context)
    if user_response is None:
        return UserGetAPINoUserFoundError()

    user_with_metadata: UserWithMetadata = UserWithMetadata().from_user(user_response)

    try:
        UserMetadataRecipe.get_instance()
    except Exception:
        user_with_metadata.first_name = &#34;FEATURE_NOT_ENABLED&#34;
        user_with_metadata.last_name =