Handle retrieve errors