Fix typo in url samples
Replace generic error with one already used in controller