Check the API is working before processing data