catch 'Unauthorized: bad credentials'