Fix error message for user api