MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    News error

    Scheduled Pinned Locked Moved Bug Hunt
    9 Posts 5 Posters 3.3k Views 4 Watching
    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 Offline
      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.

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @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
        • lavolp3L Offline
          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!

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          1 Reply Last reply Reply Quote 0
          • U Offline
            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
            • justjim1220J Offline
              justjim1220 Module Developer
              last edited by

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

              "Life's Too Short To Dance With Ugly People"
              Jim Hallock - 1995

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

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

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

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

                  @lavolp3

                  I used the one from the first post:

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

                  "Life's Too Short To Dance With Ugly People"
                  Jim Hallock - 1995

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

                    @lavolp3

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

                    "Life's Too Short To Dance With Ugly People"
                    Jim Hallock - 1995

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

                      Thanks al. It now working with out a error

                      1 Reply Last reply Reply Quote 2

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      • 1 / 1
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy