Added check for missing TempURL key.