obj_uuid is not initialized in case uuid is requested in post request

In the catch block, obj_uuid is accessed before assignment.