https://promptfoo.dev/ logo
promptfoo share error?
# ❓|questions
w
I've got some previously working automation that has started failing. It fails when I run: promptfoo share -y Here's the error: /usr/local/lib/node_modules/promptfoo/node_modules/node-fetch/lib/index.js:273 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.promptfoo.dev/api/eval reason: Unexpected token I in JSON at position 0 at /usr/local/lib/node_modules/promptfoo/node_modules/node-fetch/lib/index.js:273:32 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async createShareableUrl (/usr/local/lib/node_modules/promptfoo/dist/src/share.js:24:27) at async createPublicUrl (/usr/local/lib/node_modules/promptfoo/dist/src/main.js:264:25) { type: 'invalid-json' }
i
Sorry about that @wasp1028 - this should be fixed now
w
Thanks
2 Views