instance api request error handling