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

Failed to access data with wbopendata #37

Open
KarstenKohler opened this issue Sep 11, 2020 · 2 comments
Open

Failed to access data with wbopendata #37

KarstenKohler opened this issue Sep 11, 2020 · 2 comments

Comments

@KarstenKohler
Copy link

Hello,

First of all, many thanks for writing this excellent package!

Having successfully used the package several times in the past, today I wasn't able to retrieve data with wbopendata. Despite having updated the package using " ssc install wbopendata, replace" and using simple requests such as "wbopendata, language(en - English) country(USA) nometadata indicator(NY.GNP.MKTP.KN) long clear", I encounter the following error:

" (1) Please check your internet connection by clicking here, if does not
work please check with your internet provider or IT support,
otherwise...
(2) Please check your access to the World Bank API by clicking here, if
does not work please check with your firewall settings or internet
provider or IT support.
(3) Please consider ajusting your Stata timeout parameters. For more
details see netio.
(4) Please consider setting Stata checksum off. set checksum
(5) Please send us an email to report this error by clicking here or
writing to:
email: data@worldbank.org
subject: wbopendata query error at 11 Sep 2020 16:56:38:
https://api.worldbank.org/v2/en/countries/USA/Indicators/NY.GNP.MKTP.KN?
> downloadformat=CSV&HREQ=N&filetype=data"

When I click on the hyperlink under (2), a website opens that says the following:

"statusCode | 404
message | "Resource not found"
"

I wonder whether this is related to the change of Indicators API from v1 to v2 mentioned here?

I'd appreciate any attempt to resolve this problem.

Many thanks,
Karsten

@jpazvd
Copy link
Owner

jpazvd commented Sep 11, 2020 via email

@KarstenKohler
Copy link
Author

Dear João,

Many thanks for looking into this so swiftly.

It does seem to be a problem related to the set-up at my end, possibly due to the firewall.

If I find a solution, I will post it here.

Best wishes,
Karsten

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

2 participants