While trying to run the CF worker on remote mode i get the below error

I am completly new to JS and cloudflare workers can any one help me to indentify what is the issue text: 'A request to the Cloudflare API (/accounts/ZONEID/workers/scripts/handlewebrequest/edge-preview) failed.', notes: [ { text: 'Uncaught ReferenceError: request is not defined\n' + ' at index.js:3899:52\n' + ' [code: 10021]' } ], location: undefined, kind: 'error', code: 10021 }
1 Reply
James
James3mo ago
Can you please share your code and a way to reproduce this?