Can't deploy and save my worker
I get this error:
API Request Failed: PUT /api/v4/accounts/account-id/workers/services/black-forest-flux-generator/environments/production?include_subdomain_availability=true (403)
Is there some restriction on using this model that's hard coded in the cloudflare service and so it gives 403, or what?7 Replies
The worker works and returns image data as I want (tho i can't seem to preview it in the web dashboard)
Is there some restriction on using this modelwhat model?
Is it beacuse of this?no, that's runtime, this is upload Is this in dash or Wrangler? If dash, you're likely triggering WAF - use Wrangler
it’s just a request to a replicate model and it’s in the web app yeah. i’ll try with wrangler
I set it up through the CLI, but now i need to add an environment variable. I tried using the web app for that but get that same 403 error when trying to save and deploy here
if i put them in .env and gitignore it, will the keys still end up in the cloud?
ok, got it working with
wrangler secret put KEY
:)