help
Closed this issue · 1 comments
Abdul-Kaium5 commented
✘ [ERROR] A request to the Cloudflare API (/accounts/a2c7bf8fee1e163f818a4bbf6fccd552/workers/scripts/cf-workers-chatgpt-telegram-bot) failed.
No KV namespace found with ID a2c7bf8fee1e163f818a4bbf6fccd552 [code: 10041]
valokobito commented
@ab-kaium
This is how to fix it:
- Goto https://dash.cloudflare.com -> "Workers & Pages" -> "KV"
- Create a namespace with the name
CHATGPT_TELEGRAM_BOT_KV
. - After creating, copy its id.
- Goto to the project you cloned to you computer.
- Open file
wrangler.toml
. - Replace the id with the id you copied in your Cloudflare dashboard.
- Run
npx wrangler publish
again.