• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 2.2k 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 Jan 23, 2019, 4:54 PM

    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.

    B 1 Reply Last reply Jan 23, 2019, 8:31 PM Reply Quote 0
    • B Offline
      bhepler Module Developer @Ernst-Jan
      last edited by Jan 23, 2019, 8:31 PM

      @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
      • L Offline
        lavolp3 Module Developer
        last edited by lavolp3 Jan 24, 2019, 12:28 PM Jan 24, 2019, 12:28 PM

        @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 Jan 24, 2019, 1:48 PM

          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
          • J Offline
            justjim1220 Module Developer
            last edited by Jan 25, 2019, 5:00 AM

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

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

            L 1 Reply Last reply Jan 25, 2019, 9:31 AM Reply Quote 0
            • L Offline
              lavolp3 Module Developer @justjim1220
              last edited by Jan 25, 2019, 9:31 AM

              @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

              J 2 Replies Last reply Jan 25, 2019, 9:41 AM Reply Quote 0
              • J Offline
                justjim1220 Module Developer @lavolp3
                last edited by Jan 25, 2019, 9:41 AM

                @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
                • J Offline
                  justjim1220 Module Developer @lavolp3
                  last edited by Jan 25, 2019, 10:32 AM

                  @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 Jan 25, 2019, 6:54 PM

                    Thanks al. It now working with out a error

                    1 Reply Last reply Reply Quote 2
                    • 1 / 1
                    1 / 1
                    • First post
                      9/9
                      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