Added API errors