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
Kratos
KratosOP3mo ago
The worker works and returns image data as I want (tho i can't seem to preview it in the web dashboard)
Kratos
KratosOP3mo ago
Is it beacuse of this?
No description
Walshy
Walshy3mo ago
Is there some restriction on using this model
what 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
Kratos
KratosOP3mo ago
it’s just a request to a replicate model and it’s in the web app yeah. i’ll try with wrangler
Kratos
KratosOP3mo ago
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
No description
Kratos
KratosOP3mo ago
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 :)
Kratos
KratosOP3mo ago
No description
Want results from more Discord servers?
Add your server