Fix error-respnse on links