diff --git a/downloader/download_json.js b/downloader/download_json.js index 477ca87..ba8d2b8 100644 --- a/downloader/download_json.js +++ b/downloader/download_json.js @@ -162,8 +162,8 @@ async function downloadDistWithRetries(job, attempts = 0) { // intentar hasta 15 veces con 15 segundos de por medio if ( error instanceof StatusCodeError && - error.code === 403 && - url.host === "minsegar-my.sharepoint.com" && + ((error.code === 403 && url.host === "minsegar-my.sharepoint.com") || + (error.code === 503 && url.host === "cdn.buenosaires.gob.ar")) && attempts < 15 ) { await wait(15000);