In case of API call error, store the HTTP code and reason string in the ApiUpdates table