Error in userdata API