Giter Club home page Giter Club logo

Comments (6)

mgordonRa avatar mgordonRa commented on May 30, 2024

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:

  1. fredr::fredr(...)
    Run rlang::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.

DavisVaughan avatar DavisVaughan commented on May 30, 2024

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.

SamuelLeeD avatar SamuelLeeD commented on May 30, 2024

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.

DavisVaughan avatar DavisVaughan commented on May 30, 2024

It does seem to be back now

from fredr.

mgordonRa avatar mgordonRa commented on May 30, 2024

It's working again!

from fredr.

sboysel avatar sboysel commented on May 30, 2024

@DavisVaughan maybe we can implement an early and informative check to see if the API is down?

from fredr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.