Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Busca de cidades por UF traz 0 resultados para a sigla AP - Amapá #600

Closed
frankllin15 opened this issue Mar 16, 2024 · 2 comments
Closed

Comments

@frankllin15
Copy link

Ao fazer a chamada para o endpoint https://brasilapi.com.br/api/ibge/municipios/v1/AP é retornado um lista vazia.
Até então só identifiquei o problema para este estado em específico

frankllin15 added a commit to frankllin15/BrasilAPI that referenced this issue Mar 24, 2024
Prevents responses from providers that respond first, but with empty results, from being considered as the final result
fix BrasilAPI#600
@BourbonJones
Copy link

DF está vindo vazio igual AP. (https://brasilapi.com.br/api/ibge/municipios/v1/DF)
SC está vindo preenchido com nome e codigo_ibge vazio. (https://brasilapi.com.br/api/ibge/municipios/v1/SC)

@LorhanSohaky
Copy link
Member

Olá pessoal, aplicamos a sugestão do @frankllin15. E também removemos a wikipedia como umas das fontes default da consulta. Ela é a mais instável nesse sentido

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants