UniswapV2SlidingOracle: failed to meet quorum

@spalladino, first of thanks for the script of defender, but as it runs the autotask it throws an error, I will paste the error here if you don’t mind.
The error happens when the job is workable for instance in the UniswapV2SlidingOracle.

        Logs: 2020-11-10T04:00:46.561Z	AUTOTASK START
    2020-11-10T04:00:48.160Z	ERROR	Invoke Error 	{"errorType":"Error","errorMessage":"failed to meet quorum (method=\"getBlockNumber\", params={}, results=[{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227554,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847119,\"connection\":{\"url\":\"https://cloudflare-eth.com/\"},\"_nextId\":43,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227554,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980846984,\"result\":11227554},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847336,\"baseUrl\":\"https://api.etherscan.io\",\"apiKey\":\"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB\",\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980846984,\"result\":11227557},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"connection\":{\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"},\"_nextId\":43,\"apiKey\":\"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\",\"_internalBlockNumber\":{}},\"weight\":1,\"start\":1604980847736,\"error\":{\"reason\":\"bad response\",\"code\":\"SERVER_ERROR\",\"status\":403,\"headers\":{\"date\":\"Tue, 10 Nov 2020 04:00:48 GMT\",\"content-type\":\"application/json\",\"content-length\":\"211\",\"connection\":\"close\",\"server\":\"Apache\",\"vary\":\"Origin,Accept-Encoding\"},\"body\":\"{\\\"jsonrpc\\\": \\\"2.0\\\", \\\"id\\\": 42, \\\"error\\\": {\\\"code\\\": -32000, \\\"message\\\": \\\"Monthly capacity limit exceeded. Visit https://dashboard.alchemyapi.io/settings/billing to upgrade your scaling policy for continued service.\\\"}}\",\"requestBody\":\"{\\\"method\\\":\\\"eth_blockNumber\\\",\\\"params\\\":[],\\\"id\\\":42,\\\"jsonrpc\\\":\\\"2.0\\\"}\",\"requestMethod\":\"POST\",\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"}},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980848084,\"connection\":{\"url\":\"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213\"},\"_nextId\":43,\"apiKey\":\"84842078b09946638c03157f83405213\",\"projectId\":\"84842078b09946638c03157f83405213\",\"projectSecret\":null,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980847736,\"result\":11227557}], provider={\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"providerConfigs\":[{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980848084,\"connection\":{\"url\":\"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213\"},\"_nextId\":43,\"apiKey\":\"84842078b09946638c03157f83405213\",\"projectId\":\"84842078b09946638c03157f83405213\",\"projectSecret\":null,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847336,\"baseUrl\":\"https://api.etherscan.io\",\"apiKey\":\"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB\",\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"connection\":{\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"},\"_nextId\":43,\"apiKey\":\"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\",\"_internalBlockNumber\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227554,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847119,\"connection\":{\"url\":\"https://cloudflare-eth.com/\"},\"_nextId\":43,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227554,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1}],\"quorum\":2,\"_highestBlockNumber\":-1,\"_internalBlockNumber\":{}}, code=SERVER_ERROR, version=providers/5.0.5)","code":"SERVER_ERROR","reason":"failed to meet quorum","method":"getBlockNumber","params":{},"results":[{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227554,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980847119,"connection":{"url":"https://cloudflare-eth.com/"},"_nextId":43,"_internalBlockNumber":{},"_fastBlockNumber":11227554,"_fastBlockNumberPromise":{}},"weight":1,"start":1604980846984,"result":11227554},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227557,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980847336,"baseUrl":"https://api.etherscan.io","apiKey":"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB","_internalBlockNumber":{},"_fastBlockNumber":11227557,"_fastBlockNumberPromise":{}},"weight":1,"start":1604980846984,"result":11227557},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":-1024,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":0,"connection":{"url":"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC"},"_nextId":43,"apiKey":"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC","_internalBlockNumber":{}},"weight":1,"start":1604980847736,"error":{"errorType":"Error","errorMessage":"bad response (status=403, headers={\"date\":\"Tue, 10 Nov 2020 04:00:48 GMT\",\"content-type\":\"application/json\",\"content-length\":\"211\",\"connection\":\"close\",\"server\":\"Apache\",\"vary\":\"Origin,Accept-Encoding\"}, body=\"{\\\"jsonrpc\\\": \\\"2.0\\\", \\\"id\\\": 42, \\\"error\\\": {\\\"code\\\": -32000, \\\"message\\\": \\\"Monthly capacity limit exceeded. Visit https://dashboard.alchemyapi.io/settings/billing to upgrade your scaling policy for continued service.\\\"}}\", requestBody=\"{\\\"method\\\":\\\"eth_blockNumber\\\",\\\"params\\\":[],\\\"id\\\":42,\\\"jsonrpc\\\":\\\"2.0\\\"}\", requestMethod=\"POST\", url=\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\", code=SERVER_ERROR, version=web/5.0.2)","code":"SERVER_ERROR","reason":"bad response","status":403,"headers":{"date":"Tue, 10 Nov 2020 04:00:48 GMT","content-type":"application/json","content-length":"211","connection":"close","server":"Apache","vary":"Origin,Accept-Encoding"},"body":"{\"jsonrpc\": \"2.0\", \"id\": 42, \"error\": {\"code\": -32000, \"message\": \"Monthly capacity limit exceeded. Visit https://dashboard.alchemyapi.io/settings/billing to upgrade your scaling policy for continued service.\"}}","requestBody":"{\"method\":\"eth_blockNumber\",\"params\":[],\"id\":42,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC","stack":["Error: bad response (status=403, headers={\"date\":\"Tue, 10 Nov 2020 04:00:48 GMT\",\"content-type\":\"application/json\",\"content-length\":\"211\",\"connection\":\"close\",\"server\":\"Apache\",\"vary\":\"Origin,Accept-Encoding\"}, body=\"{\\\"jsonrpc\\\": \\\"2.0\\\", \\\"id\\\": 42, \\\"error\\\": {\\\"code\\\": -32000, \\\"message\\\": \\\"Monthly capacity limit exceeded. Visit https://dashboard.alchemyapi.io/settings/billing to upgrade your scaling policy for continued service.\\\"}}\", requestBody=\"{\\\"method\\\":\\\"eth_blockNumber\\\",\\\"params\\\":[],\\\"id\\\":42,\\\"jsonrpc\\\":\\\"2.0\\\"}\", requestMethod=\"POST\", url=\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\", code=SERVER_ERROR, version=web/5.0.2)","    at Logger.makeError (/opt/nodejs/node_modules/@ethersproject/logger/lib/index.js:179:21)","    at Logger.throwError (/opt/nodejs/node_modules/@ethersproject/logger/lib/index.js:188:20)","    at /opt/nodejs/node_modules/@ethersproject/web/lib/index.js:193:36","    at step (/opt/nodejs/node_modules/@ethersproject/web/lib/index.js:33:23)","    at Object.next (/opt/nodejs/node_modules/@ethersproject/web/lib/index.js:14:53)","    at fulfilled (/opt/nodejs/node_modules/@ethersproject/web/lib/index.js:5:58)","    at runMicrotasks (<anonymous>)","    at processTicksAndRejections (internal/process/task_queues.js:97:5)"]}},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227557,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980848084,"connection":{"url":"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213"},"_nextId":43,"apiKey":"84842078b09946638c03157f83405213","projectId":"84842078b09946638c03157f83405213","projectSecret":null,"_internalBlockNumber":{},"_fastBlockNumber":11227557,"_fastBlockNumberPromise":{}},"weight":1,"start":1604980847736,"result":11227557}],"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":-1024,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":0,"providerConfigs":[{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227557,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980848084,"connection":{"url":"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213"},"_nextId":43,"apiKey":"84842078b09946638c03157f83405213","projectId":"84842078b09946638c03157f83405213","projectSecret":null,"_internalBlockNumber":{},"_fastBlockNumber":11227557,"_fastBlockNumberPromise":{}},"weight":1,"stallTimeout":750,"priority":1},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227557,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980847336,"baseUrl":"https://api.etherscan.io","apiKey":"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB","_internalBlockNumber":{},"_fastBlockNumber":11227557,"_fastBlockNumberPromise":{}},"weight":1,"stallTimeout":750,"priority":1},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":-1024,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":0,"connection":{"url":"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC"},"_nextId":43,"apiKey":"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC","_internalBlockNumber":{}},"weight":1,"stallTimeout":750,"priority":1},{"provider":{"_isProvider":true,"_events":[],"_emitted":{"block":-2},"formatter":{"formats":{"transaction":{},"transactionRequest":{},"receiptLog":{},"receipt":{},"block":{},"blockWithTransactions":{},"filter":{},"filterLog":{}}},"anyNetwork":false,"_network":{"name":"homestead","chainId":1,"ensAddress":"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"},"_maxInternalBlockNumber":11227554,"_lastBlockNumber":-2,"_pollingInterval":4000,"_fastQueryDate":1604980847119,"connection":{"url":"https://cloudflare-eth.com/"},"_nextId":43,"_internalBlockNumber":{},"_fastBlockNumber":11227554,"_fastBlockNumberPromise":{}},"weight":1,"stallTimeout":750,"priority":1}],"quorum":2,"_highestBlockNumber":-1,"_internalBlockNumber":{}},"stack":["Error: failed to meet quorum (method=\"getBlockNumber\", params={}, results=[{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227554,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847119,\"connection\":{\"url\":\"https://cloudflare-eth.com/\"},\"_nextId\":43,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227554,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980846984,\"result\":11227554},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847336,\"baseUrl\":\"https://api.etherscan.io\",\"apiKey\":\"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB\",\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980846984,\"result\":11227557},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"connection\":{\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"},\"_nextId\":43,\"apiKey\":\"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\",\"_internalBlockNumber\":{}},\"weight\":1,\"start\":1604980847736,\"error\":{\"reason\":\"bad response\",\"code\":\"SERVER_ERROR\",\"status\":403,\"headers\":{\"date\":\"Tue, 10 Nov 2020 04:00:48 GMT\",\"content-type\":\"application/json\",\"content-length\":\"211\",\"connection\":\"close\",\"server\":\"Apache\",\"vary\":\"Origin,Accept-Encoding\"},\"body\":\"{\\\"jsonrpc\\\": \\\"2.0\\\", \\\"id\\\": 42, \\\"error\\\": {\\\"code\\\": -32000, \\\"message\\\": \\\"Monthly capacity limit exceeded. Visit https://dashboard.alchemyapi.io/settings/billing to upgrade your scaling policy for continued service.\\\"}}\",\"requestBody\":\"{\\\"method\\\":\\\"eth_blockNumber\\\",\\\"params\\\":[],\\\"id\\\":42,\\\"jsonrpc\\\":\\\"2.0\\\"}\",\"requestMethod\":\"POST\",\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"}},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980848084,\"connection\":{\"url\":\"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213\"},\"_nextId\":43,\"apiKey\":\"84842078b09946638c03157f83405213\",\"projectId\":\"84842078b09946638c03157f83405213\",\"projectSecret\":null,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"start\":1604980847736,\"result\":11227557}], provider={\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"providerConfigs\":[{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980848084,\"connection\":{\"url\":\"https://mainnet.infura.io/v3/84842078b09946638c03157f83405213\"},\"_nextId\":43,\"apiKey\":\"84842078b09946638c03157f83405213\",\"projectId\":\"84842078b09946638c03157f83405213\",\"projectSecret\":null,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227557,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847336,\"baseUrl\":\"https://api.etherscan.io\",\"apiKey\":\"9D13ZE7XSBTJ94N9BNJ2MA33VMAY2YPIRB\",\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227557,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":-1024,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":0,\"connection\":{\"url\":\"https://eth-mainnet.alchemyapi.io/v2/_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\"},\"_nextId\":43,\"apiKey\":\"_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC\",\"_internalBlockNumber\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1},{\"provider\":{\"_isProvider\":true,\"_events\":[],\"_emitted\":{\"block\":-2},\"formatter\":{\"formats\":{\"transaction\":{},\"transactionRequest\":{},\"receiptLog\":{},\"receipt\":{},\"block\":{},\"blockWithTransactions\":{},\"filter\":{},\"filterLog\":{}}},\"anyNetwork\":false,\"_network\":{\"name\":\"homestead\",\"chainId\":1,\"ensAddress\":\"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e\"},\"_maxInternalBlockNumber\":11227554,\"_lastBlockNumber\":-2,\"_pollingInterval\":4000,\"_fastQueryDate\":1604980847119,\"connection\":{\"url\":\"https://cloudflare-eth.com/\"},\"_nextId\":43,\"_internalBlockNumber\":{},\"_fastBlockNumber\":11227554,\"_fastBlockNumberPromise\":{}},\"weight\":1,\"stallTimeout\":750,\"priority\":1}],\"quorum\":2,\"_highestBlockNumber\":-1,\"_internalBlockNumber\":{}}, code=SERVER_ERROR, version=providers/5.0.5)","    at Logger.makeError (/opt/nodejs/node_modules/@ethersproject/logger/lib/index.js:179:21)","    at Logger.throwError (/opt/nodejs/node_modules/@ethersproject/logger/lib/index.js:188:20)","    at FallbackProvider.<anonymous> (/opt/nodejs/node_modules/@ethersproject/providers/lib/fallback-provider.js:626:54)","    at step (/opt/nodejs/node_modules/@ethersproject/providers/lib/fallback-provider.js:46:23)","    at Object.next (/opt/nodejs/node_modules/@ethersproject/providers/lib/fallback-provider.js:27:53)","    at fulfilled (/opt/nodejs/node_modules/@ethersproject/providers/lib/fallback-provider.js:18:58)"]}
    2020-11-10T04:00:48.162Z	AUTOTASK COMPLETE

[EDIT @abcoathup] Moved from: How to set up a Keeper on Defender

1 Like

you should use your own keys

2 Likes

yeah, i saw your post on gor.yearn thanks @Bolo
Is that the only change or …?

1 Like

yes. this version i am using.

1 Like

OK, thanks, but I got an error in gas estimation, have got such an error?

And that’s only when job is workable.

1 Like

Wonder also if have ever got any successful job

1 Like

you should read this thread Limit in alchemyapi.io API on Autotasks Uniswap Oracle Keep3r

2 Likes

Hello everybody,

Just to say that the code ok @Bolo work well, and I have my first transaction with it. With really high transaction and gas fee, but it work !

Please to find the code here

Github : https://github.com/nono01022/keep3r-Autotask/commit/39241342a23ffd6d150709262eccf95942f5da92

2 Likes

2 posts were split to a new topic: Net earnings is negative because the tx is higher than the total gas spent

Hi @bashebr,

Please also see the documentation for this: