Error1101 error worker

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

hello.linksever.workers.dev

What is the error number?

1101

What is the error message?

Error 1101 Ray ID: 8d900d8f2d77326c • 2024-10-27 04:48:17 UTC Worker threw exception

What is the issue or error you’re encountering

Error 1101 Ray ID: 8d900d8f2d77326c • 2024-10-27 04:48:17 UTC Worker threw exception

What steps have you taken to resolve the issue?

change worker,check out code as follow
from js import Response

def on_fetch(request):
print(“Hi there!”)
return Response.new(“Hello World!”)

What are the steps to reproduce the issue?

creat any worker

who can help me,At a certain moment, I suddenly had this problem.

That looks like a python worker. Where are you inputting that? You have to use wrangler - it will not work with Quick Edit in the dashboard. Have you followed the getting started guide in the docs?

from js import Response

def on_fetch(request):
return Response.new(“Hello World!”)

I’m using official examples.All cases do not work

In wrangler, or the dashboard? Python workers will only work when configured with an up to date version of wrangler.

1 Like