You are not getting a queue because the queue list is full and thats why you get the 1017 code