Read the statement by Michael Teeuw here.
PoemOfTheDay no Dutch Poems
-
If I select
languageSet: ["en"],``` it works fine If I selectlanguageSet: [“nl”],
I get no poems at all only "loading"on the screen and errors in the logurl: ‘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
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