Page 1 of 1

EIA API fetch failure

Posted: Thu Dec 16, 2021 9:15 am
by BT454
Good morning!
I'm receiving the attached error when trying to fetch from EIA API.
I've included the code:

Code: Select all

cd c:\warem32\ close @db close @wf %startrange = "1/1/2010" %endrange=@datestr(@dateadd(@dateval(@date),1,"m"),"mm/dd/yyyy") wfcreate(wf=winddata, page=hourly) h %startrange %endrange dbopen eia fetch EBA.US48-ALL.NG.WND.H EBA.CAL-ALL.NG.WND.H EBA.CENT-ALL.NG.WND.H EBA.MIDA-ALL.NG.WND.H EBA.MIDW-ALL.NG.WND.H EBA.NE-ALL.NG.WND.H EBA.NY-ALL.NG.WND.H EBA.NW-ALL.NG.WND.H EBA.TEX-ALL.NG.WND.H EBA.TEN-ALL.NG.WND.H EBA.SW-ALL.NG.WND.H EBA.SE-ALL.NG.WND.H
Any help is appreciated.
Thanks!

Re: EIA API fetch failure

Posted: Thu Dec 16, 2021 10:29 am
by EViews Katerina
What version and build date of EViews are you running?
You can check by selecting Help->About EViews on EViews menu.
I believe the issue you are having has been fixed with earlier July patch of EViews 12.

Re: EIA API fetch failure

Posted: Thu Dec 16, 2021 11:05 am
by BT454
hi there!
Thanks for the fast reply. I took a screen cap and attached it to this post. It seems to have resolved for at the moment.

Re: EIA API fetch failure

Posted: Mon Feb 14, 2022 12:09 pm
by jlee32
Hey everyone, I'm actually currently having the same issue using the same code as BT454 provided. My current version is Eviews 12 with a build date of Feb 1 2022.