diff --git a/apps/app_queue.c b/apps/app_queue.c
index 29fc040dbdb1280c392997c0ad8588a70673367c..d41d27295db895f66379bb6cb681d3facb2c06b1 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1851,6 +1851,11 @@ static void rt_handle_member_record(struct call_queue *q, char *interface, const
 	int paused  = 0;
 	int found = 0;
 
+	if (ast_strlen_zero(rt_uniqueid)) {
+		ast_log(LOG_WARNING, "Realtime field uniqueid is empty for memeber %s\n", S_OR(membername, "NULL"));
+		return;
+	}
+
 	if (penalty_str) {
 		penalty = atoi(penalty_str);
 		if (penalty < 0)