Comments (6)
This exact issue has just arisen for me too, this morning. I was right about to post an issue myself.
For context, I was able to use fredr last Friday. This morning I booted up a project file using fredr and received an error. I then tried changing my api to see if that was an issue to no avail. I received the same error.
rlang::last_error()
<error/rlang_error>
:
Backtrace:
- fredr::fredr(...)
Runrlang::last_trace()
to see the full context.
rlang::last_trace
function ()
{
err <- last_error()
err$rlang$internal$print_simplify <- "none"
err
}
<bytecode: 0x000001b627a3bfd8>
<environment: namespace:rlang>
from fredr.
I think the FRED API is just down. Pasting the following into my browser with <MY_KEY>
replaced with my actual key gives me a 500 internal server error
https://api.stlouisfed.org/fred/series/observations?series_id=GNPCA&api_key=<MY_KEY>
from fredr.
I'm having this problem at the moment, and I think it's just that the FRED API is down at the moment.
Using FRED's API link to request a series returns an Internal Server Error: https://api.stlouisfed.org/fred/series?series_id=GNPCA&api_key=abcdefghijklmnopqrstuvwxyz123456
However, it does seem that the error handling in fredr
is also faulty at the moment, and doesn't correctly output the error code and error message, which is why you got a blank error message.
EDIT: Right as I was typing this, I tried it again and it seems to work now (it wasn't working just 2 minutes ago). Do try it again!
from fredr.
It does seem to be back now
from fredr.
It's working again!
from fredr.
@DavisVaughan maybe we can implement an early and informative check to see if the API is down?
from fredr.
Related Issues (20)
- Unable to Install (Broken Dependency?) HOT 2
- Support for FRED Maps HOT 3
- Option to select Seasonally Adjusted Observation HOT 1
- upper bound too low for limit in fredr_category_series() HOT 3
- Pagination HOT 1
- Encoding error with fredr_series_observations HOT 11
- Better test environment for API requests HOT 3
- CRAN issues HOT 25
- Removed from CRAN? HOT 2
- Fredr can't return a legit series_id HOT 3
- Getting fredr back on CRAN HOT 24
- Release fredr 2.0.0
- way to traverse category trees? HOT 4
- This likely isn't an issue with your code, but something to be wary of HOT 3
- Trouble downloading multiple FRED series HOT 5
- fredr() and parameter vintage_dates HOT 5
- M2 not FedFunds
- Release fredr 2.1.0 HOT 1
- Capture multiple series simultaneously? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fredr.