Workers routes - Zone

i got error forbidden on the workers routes page
// https://dash.cloudflare.com/api/v4/zones/2bcda703ca53648a*************/spectrum/apps/dns?per_page=200

{
"result": null,
"success": false,
"errors": [
{
"code": 10007,
"message": "Forbidden."
}
],
"messages": [

]
}
// https://dash.cloudflare.com/api/v4/zones/2bcda703ca53648a*************/spectrum/apps/dns?per_page=200

{
"result": null,
"success": false,
"errors": [
{
"code": 10007,
"message": "Forbidden."
}
],
"messages": [

]
}
9 Replies
Walshy
Walshy2y ago
Known issue, team is aware. It doesn’t block functionality
exit(0)
exit(0)OP2y ago
to add a custom route path for a workers x, using a specific subdomain, is it required that subdomain to have a worker too ? like i want to use my.sub.com/auth for a worker auth does the subdomain my.sub.com need to have a worker? idk if u get the idea
Walshy
Walshy2y ago
I’m not sure what you mean You’d need a Worker on my.sub.com/auth*
Hello, I’m Allie!
If you only want to cover my.sub.com/auth* with your Worker, then no, the Worker doesn't need to cover the entirety of my.sub.com
exit(0)
exit(0)OP2y ago
but where should i forward the dns for that subdomain ? the problem is that if I use the subdomain for a worker, I get the DNS pointed to that worker, but without a worker, I don't know where to point the subdomain DNS record
Hello, I’m Allie!
Is there supposed to be something else on the subdomain? Or is it just the Worker? IE, what do you want to happen if you go to my.sub.com?
exit(0)
exit(0)OP2y ago
okey here is my steps to be more clear i have domain: api.domain.io and a worker worker-auth for the moment and i want api.domain.io/v1/auth -> worker-auth i dont have anything yet for t he base api.domain.io
Hello, I’m Allie!
In that case, if you intent to have something on api.domain.io at some point, add a placeholder AAAA 100:: record. Note though that any route on api.domain.io that isn't api.domain.io/v1/auth may throw an error.
exit(0)
exit(0)OP2y ago
okey 100:: i was looking for then thanks! MeowHeartCloudflare still got error when i select a zone 😦 any idea why Forbidden. (Code: 10007)
Want results from more Discord servers?
Add your server