Error check when requesting template