MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    PoemOfTheDay no Dutch Poems

    Education
    1
    1
    141
    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.
    • R
      renevandenbroek last edited by

      If I select

      languageSet: ["en"],```
      it works fine
      If I select 
      

      languageSet: [“nl”],

      
      I get no poems at all only "loading"on the screen and errors in the log
      
      

      url: ‘https://www.poemist.com/api/v1/randompoems’,
      0|mm | method: ‘get’,
      0|mm | headers: [Object],
      0|mm | transformRequest: [Array],
      0|mm | transformResponse: [Array],
      0|mm | timeout: 0,
      0|mm | adapter: [Function: httpAdapter],
      0|mm | xsrfCookieName: ‘XSRF-TOKEN’,
      0|mm | xsrfHeaderName: ‘X-XSRF-TOKEN’,
      0|mm | maxContentLength: -1,
      0|mm | validateStatus: [Function: validateStatus],
      0|mm | data: undefined
      0|mm | },
      0|mm | request: ClientRequest {
      0|mm | _events: [Object: null prototype],
      0|mm | _eventsCount: 6,
      0|mm | _maxListeners: undefined,
      0|mm | outputData: [],
      0|mm | outputSize: 0,
      0|mm | writable: true,
      0|mm | _last: true,
      0|mm | chunkedEncoding: false,
      0|mm | shouldKeepAlive: false,
      0|mm | useChunkedEncodingByDefault: false,
      0|mm | sendDate: false,
      0|mm | _removedConnection: false,
      0|mm | _removedContLen: false,
      0|mm | _removedTE: false,
      0|mm | _contentLength: 0,
      0|mm | _hasBody: true,
      0|mm | _trailer: ‘’,
      0|mm | finished: true,
      0|mm | _headerSent: true,
      0|mm | socket: [TLSSocket],
      0|mm | connection: [TLSSocket],
      0|mm | _header: ‘GET /api/v1/randompoems HTTP/1.1\r\n’ +
      0|mm | ‘Accept: application/json, text/plain, /\r\n’ +
      0|mm | ‘User-Agent: axios/0.19.0\r\n’ +
      0|mm | ‘Host: www.poemist.com\r\n’ +
      0|mm | ‘Connection: close\r\n’ +
      0|mm | ‘\r\n’,
      0|mm | _onPendingData: [Function: noopPendingOutput],
      0|mm | agent: [Agent],
      0|mm | socketPath: undefined,
      0|mm | method: ‘GET’,
      0|mm | insecureHTTPParser: undefined,
      0|mm | path: ‘/api/v1/randompoems’,
      0|mm | _ended: true,
      0|mm | res: [IncomingMessage],
      0|mm | aborted: false,
      0|mm | timeoutCb: null,
      0|mm | upgradeOrConnect: false,
      0|mm | parser: null,
      0|mm | maxHeadersCount: null,
      0|mm | reusedSocket: false,
      0|mm | _redirectable: [Writable],
      0|mm | [Symbol(kCapture)]: false,
      0|mm | [Symbol(kNeedDrain)]: false,
      0|mm | [Symbol(corked)]: 0,
      0|mm | [Symbol(kOutHeaders)]: [Object: null prototype]
      0|mm | },
      0|mm | data: { message: ‘Too Many Requests’ }
      0|mm | },
      0|mm | isAxiosError: true,
      0|mm | toJSON: [Function]
      0|mm | }
      0|mm | [12.07.2021 13:02.57.745] [LOG] there was most likely an error fetching poems from https://www.poemist.com/api/v1/randompoems, waiting 5 mins before trying again

      1 Reply Last reply Reply Quote 0
      • 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