Worker 403 error with custom headers, worked fine a few weeks ago

I am using a worker as a proxy to bypass CORS. When using it without custom headers, it doesn't fetch anything and returns the correct response. When used with custom headers (urlToFetch), it used to correctly return the fetched content. But now it returns this instead:
We are sorry !

The page or file you requested is not accessible. Please try after some time.

Reference 18.ae293417.1729453716.138d65bc
We are sorry !

The page or file you requested is not accessible. Please try after some time.

Reference 18.ae293417.1729453716.138d65bc
The response headers of the request contain server: cloudflare I haven't changed the worker configuration in 6 months. It was working fine all this time, but now it gives this error.
No description
6 Replies
Cyb3r-Jak3
Cyb3r-Jak32d ago
That looks like an upstream server error. Is your worker making a sub request?
timepassuser
timepassuser2d ago
yes, the worker is making a sub request, it's just fetching a link and returning it's contents for more context: requests are being sent to the worker from a github pages site
Cyb3r-Jak3
Cyb3r-Jak32d ago
Sounds like that link might have broken
timepassuser
timepassuser2d ago
The link works fine in the browser though As it always did
Cyb3r-Jak3
Cyb3r-Jak32d ago
Host might be blocking workers then. It is not uncommon
timepassuser
timepassuser17h ago
yeah, you were correct
Want results from more Discord servers?
Add your server