This is inside the `handleFailedAPI` function -- is it ever going to be a different message type?