Endpoint /api/ibge/uf/v1 retornando erro 500
Factobot opened this issue · comments
Tanto no browser quanto no postman retorna o mesmo error
{ "message": "unable to verify the first certificate", "name": "Error", "stack": "Error: unable to verify the first certificate\n at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)\n at TLSSocket.emit (node:events:513:28)\n at TLSSocket._finishInit (node:_tls_wrap:953:8)\n at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)\n at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)", "config": { "url": "https://servicodados.ibge.gov.br/api/v1/localidades/estados", "method": "get", "headers": { "Accept": "application/json, text/plain, */*", "User-Agent": "axios/0.21.1", "x-vercel-id": "cdg1::lftd6-1685720428903-68750e1ccff2" }, "transformRequest": [ null ], "transformResponse": [ null ], "timeout": 0, "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN", "maxContentLength": -1, "maxBodyLength": -1 }, "code": "UNABLE_TO_VERIFY_LEAF_SIGNATURE" }
Olá @Factobot! Provavelmente foi alguma instabilidade na API do IBGE. Tentei agora e está normal.