Added exception handling for uri transformation request