Skip to content

Getting an FetchError on use #27

@rjbprime

Description

@rjbprime

Not sure what is going on. I am using FoundryVTT v10.303, dnd5e v2.2.2, and ddb-importer v3.4.57, with ddb-proxy v0.0.24, and am now getting the below error.

D:\Git 2023\ddb-proxy>node index.js
DDB Proxy started on :3000
Retrieving ddb config
undefined
Error retrieving DDB Config
FetchError: invalid json response body at https://www.dndbeyond.com/api/config/json reason: Unexpected token < in JSON at position 0
    at D:\Git 2023\ddb-proxy\node_modules\node-fetch\lib\index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'invalid-json'
}
FetchError: invalid json response body at https://www.dndbeyond.com/api/config/json reason: Unexpected token < in JSON at position 0
    at D:\Git 2023\ddb-proxy\node_modules\node-fetch\lib\index.js:273:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  type: 'invalid-json'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions