deployed worker always returning 403 when uploading file via the routed domain.

Can someone help me with this behavior? It keeps returning 403 when I am trying to upload a file via the routed domain? it works fine when using the "workers.dev" domain/route. Based on it's behavior, it seems like it didn't actually reach the worker because I don't see any 403 logs when I am trying to upload.
No description
14 Replies
Tamada
TamadaOP2mo ago
@Community Champion @Cloudflare (Server Owner)
texan
texan2mo ago
?pings
SuperHelpflare
SuperHelpflare2mo ago
Please do not ping community members for non-moderation reasons. Doing so will not solve your issue faster and will make people less likely to want to help you.
texan
texan2mo ago
Is the route set on your worker? I would suspect that or maybe something access/WAF related?
Tamada
TamadaOP2mo ago
>I would suspect that or maybe something access/WAF related? this is what I found in google/AI as well, but it really can be WAF even it's not activated yet?
Walshy
Walshy2mo ago
what do you mean by "not activated yet"?
Tamada
TamadaOP2mo ago
here,
No description
Walshy
Walshy2mo ago
that's just account-level waf, you will have zone-level waf enabled (it's default)
Tamada
TamadaOP2mo ago
also I have another service worker that supports uploading file and it works fine, so it's really weird on this specific worker
Walshy
Walshy2mo ago
what are the response headers
Tamada
TamadaOP2mo ago
No description
Tamada
TamadaOP2mo ago
In the response headers, it shows that it's still "text/html"
Tamada
TamadaOP2mo ago
on the other service, it shows "application/json"
No description
Walshy
Walshy2mo ago
cf-mitigated: challenge that's WAF you'll need to check your WAF events and see why it's being challenged

Did you find this page helpful?