Guidewire interview question

Fetching data through API and error handling