URL restricted by Robot.txt errors may happen because of various reasons such as; your robot file might be prohibiting the Googlebot from accessing a directory where the said URL is found or from accessing a specific URL. This usually happens if the robot.txt file is set in such a way that it prohobit the Googlebot from crawling this URL. In other rare cases, you might have accidentally done some changes on your robot.txt which would have resulted into this error.