Improved ApiDataAccesss error handling.