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.6k 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.
    • 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
                  • 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