Worker issue

For Workers & Pages, what is the name of the domain?

What is the error number?

1031 on preview and 404 on production (when trying to see my text.js)

What is the error message?

Error 1031 Ray ID: 9e77e2a2e34d2a76 • 2026-04-05 10:31:48 UTC Invalid Workers Preview configuration What happened? Improperly configured Workers Preview for solups.fr. You may need to reinitialize.

What is the issue or error you’re encountering

My workers.dev endpoint works, but my route solups.fr/* is not attached and doesn’t work, even though I have properly attached the route to the worker

What steps have you taken to resolve the issue?

“I redeployed my worker, deleted all routes, then created a new one and attached it to my worker, and finally purged the cache to reset everything

What are the steps to reproduce the issue?

you can try my workers.dev/firebase-messaging-sw.js on production (it’s ok). But when you will try */firebase-messaging-sw.js you will have 4O4 error.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.