return errors correctly from plaid