Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.

    News error

    Bug Hunt
    5
    9
    1108
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Ernst-Jan last edited by

      Hello, when i read in my pm2 log mm i see the following error.
      Only o top of my MM have i new from “AD”
      Can some one tell me what to do
      0|mm | Create new news fetcher for url: https://www.ad.nl/nieuws/rss.xml - Interval: 300000
      0|mm | [NEWS] Error : https://newsapi.org/v2/top-headlines?sources=ad&pageSize=20&apiKey=b33df8fffc4f47c6a75926a4bfd40088 result.code:One or more of the news sources you’ve requested doesn’t exist (ad). Check your spelling, or see /v2/sources for a list of valid sources.

      bhepler 1 Reply Last reply Reply Quote 0
      • bhepler
        bhepler Project Sponsor @Ernst-Jan last edited by

        @ernst-jan - If you try to load that URL in your browser, you get the same error. It seems as if there is a problem with that newsfeed, not the module.

        1 Reply Last reply Reply Quote 0
        • lavolp3
          lavolp3 Module Developer last edited by lavolp3

          @ernst-jan said in News error:

          0|mm | [NEWS] Error : https://newsapi.org/v2/top-headlines?sources=ad&pageSize=20&apiKey=b33df8fffc4f47c6a75926a4bfd40088 result.code:One or more of the news sources you’ve requested doesn’t exist (ad). Check your spelling, or see /v2/sources for a list of valid sources.

          There is a problem with the link. There is no source with an id of “ad”. What newspaper do you want to show?

          Also: Better to hide your api key which is shown above.

          And also: Thanks for the link to the newsapi site! Great source!

          1 Reply Last reply Reply Quote 0
          • U
            Ultimatum22 Module Developer last edited by

            Read the error message, ad.nl is not supported. If you check the sources you see which sources are available

            https://newsapi.org/v2/sources?apiKey=b33df8fffc4f47c6a75926a4bfd40088

            1 Reply Last reply Reply Quote 0
            • justjim1220
              justjim1220 Module Developer last edited by

              it is working for me just fine…
              0_1548392415203_Screenshot (25).png

              lavolp3 1 Reply Last reply Reply Quote 0
              • lavolp3
                lavolp3 Module Developer @justjim1220 last edited by

                @justjim1220 So would you mind posting the link you used to help out your nederlandse vriend? 🙂

                justjim1220 2 Replies Last reply Reply Quote 0
                • justjim1220
                  justjim1220 Module Developer @lavolp3 last edited by

                  @lavolp3

                  I used the one from the first post:

                  https://www.ad.nl/nieuws/rss.xml

                  1 Reply Last reply Reply Quote 1
                  • justjim1220
                    justjim1220 Module Developer @lavolp3 last edited by

                    @lavolp3

                    I also used this module: https://github.com/justjim1220/MMM-NewsFeedTicker

                    1 Reply Last reply Reply Quote 0
                    • E
                      Ernst-Jan last edited by

                      Thanks al. It now working with out a error

                      1 Reply Last reply Reply Quote 2
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy