cloudflare / workers-sdk

⛅️ Home to Wrangler, the CLI for Cloudflare Workers®
https://developers.cloudflare.com/workers/
Apache License 2.0
2.48k stars 638 forks source link

🐛 BUG: workers.api.error.no_access_to_vectorize [code: 100158] #4295

Closed midshipman closed 9 months ago

midshipman commented 9 months ago

Which Cloudflare product(s) does this pertain to?

Workers Runtime

What version(s) of the tool(s) are you using?

wrangler 3.15.0,

What version of Node are you using?

Node.js v20.0.0

What operating system are you using?

mac

Describe the Bug

I followed this guide

https://developers.cloudflare.com/workers-ai/tutorials/build-a-retrieval-augmented-generation-ai/

but got the error in step 7, no clue about error code 100158

Please provide a link to a minimal reproduction

No response

Please provide any relevant error logs

No response

penalosa commented 9 months ago

From the Vectorize docs (https://developers.cloudflare.com/vectorize/get-started/intro/) it looks like Vectorize is currently only enabled for Workers Paid plans:

Vectorize is in public beta Vectorize is currently in public beta and is enabled for all developers on Workers Paid plans. During the beta, you may run into bugs and instability which may make it unsuitable for production-facing workloads.