Added error on dispatch handler and added Dynamic modifying of response URL