Pergunta de entrevista da empresa Low Carbon Contracts

If you got a response from the external API that a timeout happened - how would you handle that? How would you let users know that an attempt to sync failed? How would you investigate a slow sync? Do you follow any principles (DRY, KISS, etc) when writing code?