Daniel
Daniel
PPrisma
Created by Daniel on 9/25/2024 in #help-and-questions
Cannot set up optimize
👋 I'm seeing the following error when trying to run withOptimize.
[optimize] HTTP 401 Unauthorized:
TypeError: Body is unusable
at specConsumeBody (node:internal/deps/undici/undici:5549:15)
at _Response.text (node:internal/deps/undici/undici:5448:18)
at E2 (/Users/daniel/Workspace/my-app/build/server.js:122344:63)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[optimize] HTTP 401 Unauthorized:
TypeError: Body is unusable
at specConsumeBody (node:internal/deps/undici/undici:5549:15)
at _Response.text (node:internal/deps/undici/undici:5448:18)
at E2 (/Users/daniel/Workspace/my-app/build/server.js:122344:63)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
I followed all of the steps from the docs , including creating and saving the API key. Are there any gotchas not covered in the documentation or ways to verify that my API key is valid?
4 replies