Unable to create a Worker with API
I'm trying to create workers using the API.
I found the correct endpoint for this but I'm running into a brick wall by getting this error:
Specific error code is 10021 and it points to validation errors but it does not help at all in this case. https://developers.cloudflare.com/workers/observability/errors/#validation-errors-10021
I'm able to use "List Workers"-endpoint with same credentials with no issues.
Do I need some worker.js script? there is no mention of it at all in docs.
My current test implementation using Next.js 15:
1 Reply
Solved this. Appeared to be missing info in docs.