You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 1, 2024. It is now read-only.
const data = await this.api.systemDocumentsIdDownloadGet({id: document.id});
It throws the following:
SyntaxError: Unexpected token � in JSON at position 0
at JSON.parse ()
at /Users/troymorvant/Projects/FN/integrations/integration-worker-
connectwise/node_modules/isomorphic-fetch/node_modules/node-fetch/lib/body.js:46:16
at process.internalTickCallback (internal/process/next_tick.js:77:7)
Shouldn't fetch() return a buffer for files rather than attempting to parse the response as json?