make sure request exists before trying to insert uuid