Census Database Error

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

mmiller2
Posts: 44
Joined: Tue Aug 23, 2016 9:56 am

Census Database Error

Postby mmiller2 » Tue May 19, 2020 10:27 am

I'm using the latest version of EViews 11, obtained an API key from Census, and followed the instructions here:
https://eviews.com/help/helpintro.html#page/content%2Fdatabase-Foreign_Format_Databases.html%23ww187991

Although I am able to connect, I get a Census Database Error when I click the Browse button:

CensusDatabaseError.png
CensusDatabaseError.png (33.85 KiB) Viewed 6469 times

EViews Katerina
Posts: 51
Joined: Thu Jun 25, 2015 9:54 am

Re: Census Database Error

Postby EViews Katerina » Tue May 19, 2020 12:18 pm

There are a few things you can try in order to identify the reason you cannot connect to the database:

1. Open the US Census database from EViews. On the database window click View->Preferences.
Make sure you can see the correct key you received from US Census.
2. Open a browser window (IE, Chrome, ..) and try :
https://api.census.gov/data.json?key=YOUR-API-KEY
Do you receive results or do you get an error?
3. Are you using a proxy server?

mmiller2
Posts: 44
Joined: Tue Aug 23, 2016 9:56 am

Re: Census Database Error

Postby mmiller2 » Tue May 19, 2020 2:25 pm

Thanks for the suggestions. It looks like the proxy server setting was being parsed incorrectly. Once I removed the http:// from the front of it, everything worked fine. Note that it works fine with the http:// there for updates and connecting to some types of databases, but the it seems to break for the API types (Census, BLS, BEA, etc.).


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 14 guests