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
Walshy16mo ago
Known issue, team is aware. It doesn’t block functionality
0xf
0xf16mo 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
Walshy16mo 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
0xf
0xf16mo 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?
0xf
0xf16mo 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.
0xf
0xf16mo 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
More Posts
Worker is logging requests when website is making no requestsI built a Worker to handle form requests for my website and put the data to different services I usecloudflare pages site speed test but 404 errorWhen my site, which was created using cloudflare pages, performs the speed test, a 404 error occurs.The wording around how sampling is doneThe wording around how sampling is done is unclear - which row from a sampled region gets stored? WhWorkers not decoding gzip request automaticallyGetting the `.text()` of ```Z�&�;��2����9s#Ò/y�H�H�����Cp_΃;05��J#c�E�G9�M*�a�zJ%,�[t���)<�>��Ņ��^��Error: "stream does not start with a json array" when making logpush job, incorrect error code?I am trying to make a logpush job that sends an array JSON to axiom. I am getting an error: ``` {"eHow to cancel deployment if any part of the build fails or throws an error?I set up a tiny build script for my site at https://github.com/ReactFinland/future-frontend-site/bloHow am I to run my Next.js 13 app with Edge runtime API route with KV bindings locally?I created a brand new next.js 13 app with Edge runtime API route. This works well both locally and wService bindingsIs it possible to create worker service bindings through cloudflare API https://developers.cloudflarError when hosted on pages but not on localokay... if I have minify/rocketloader off, cf shouldn't touch any of my code right? so why is it thaPOST to worker > "Network connection lost" (via 'wrangler tail')POST https://valet-ticket-list.vaya.workers.dev/vstnd_6t84ks2nvu5xqo3hhp1p2otpj/vtkt_d2u4wh8ulv8gzmc