Removed error that did not correspond to endpoint