Fortnite-API-Wrapper icon indicating copy to clipboard operation
Fortnite-API-Wrapper copied to clipboard

Error

Open transgirllucy opened this issue 3 years ago • 0 comments

                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://api.fortnitetracker.com/v1/profile/platform%20[pc,%20xbl,%20psn]/ninja reason: Unexpected token < in JSON at position 1
    at /home/mrtuxa/Documents/fortnite/node_modules/node-fetch/lib/index.js:273:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Client.user (/home/mrtuxa/Documents/fortnite/node_modules/fortnite/src/Client.js:37:18) {
  type: 'invalid-json'
}

Node.js v17.8.0

transgirllucy avatar Mar 27 '22 01:03 transgirllucy