when will `--experimental-vectorize-bind
when will
--experimental-vectorize-bind-to-prod
flag get stable, it fails 4/5 times resulting in 10000 Auth error7 Replies
Hi @Dev . Could you please share any details about how you're running into that issue? What steps lead to that error?
We can't reliably reproduce issue you described. Without a way to reliably reproduce it we can't chase Wrangler team about the fix or assistance of root cause analysis.
Hi,
i have this dev script in package.json of my backend app.
"dev": "bun run format && npx wrangler dev --experimental-vectorize-bind-to-prod --port=3000"
so when i call the vectorize upsert procedure, it gives the following 10000 Auth Error when generating embeddings as this is the first point of contact to the binding.
it eventually works after multiple tries.
I have checked all the necessary api tokens and I'm always logged in through wrangler
>generate-embeddings.ts
>upsert-procedure
Thank you for the details. We are investigating this issue.
I am still unable to reproduce this. Do you get this error when you leave the dev mode running for some time and come back to it? Or is there any other usage pattern that makes the error more likely to happen?
Wait, the stacktrace here seems to indicate that the error is generated by the
Ai.run
command within generateEmbeddings
.
If this is the stacktrace you observe each time, then it may not be a Vectorize issue.its completely random, one time it will work and gives error on next
I haven't received this error in prod, only happens in dev
Workers AI also runs a mixed mode setting in the dev more afaik. The stacktrace indicates that the error comes from the 'AI.run' command.
Okay, got it
Thanks!