Update external aPI to handle multiple errors