add error to url