Display a message when a call to the API fails