WindmillWWindmill
Powered by
NickReeseN
Windmill•2y ago•
24 replies
NickReese

Unauthorized Tasks?

Hey all, facing an issue where I can't seem to get any task working when using the workflows as code setup. It just keeps returning unauthorized. The tool works without the tasks.


=======


job=0191fb5d-fe4f-0926-43e4-be56644dc4b6 tag=bun worker=wk-reports-3306192d8b44-hZzbM hostname=3306192d8b44

skipping install, using cached buntar based on lockfile hash: K_HkMUcdUDKK88MuEFqRQSyII2agWOINYHUOoXlP-vU=

--- BUN CODE EXECUTION ---

Started task crawlPageWithFetch as job Unauthorized
Error crawling https://example.com: 1 | "use strict";
2 | Object.defineProperty(exports, "__esModule", { value: true });
3 | exports.ApiError = void 0;
4 | class ApiError extends Error {
5 | constructor(request, response, message) {
6 | super(message);
^
ApiError: Bad Request
url: "http://127.0.0.1:44029/api/w/no_workspace/jobs_u/completed/get_result_maybe/Unauthorized"
at new ApiError (/tmp/windmill/wk-reports-3306192d8b44-hZzbM/0191fb5d-fe4f-0926-43e4-be56644dc4b6/node_modules/windmill-client/dist/core/ApiError.js:6:9)
at catchErrorCodes (/tmp/windmill/wk-reports-3306192d8b44-hZzbM/0191fb5d-fe4f-0926-43e4-be56644dc4b6/node_modules/windmill-client/dist/core/request.js:224:15)
at /tmp/windmill/wk-reports-3306192d8b44-hZzbM/0191fb5d-fe4f-0926-43e4-be56644dc4b6/node_modules/windmill-client/dist/core/request.js:269:29
at fulfilled (/tmp/windmill/wk-reports-3306192d8b44-hZzbM/0191fb5d-fe4f-0926-43e4-be56644dc4b6/node_modules/windmill-client/dist/core/request.js:5:58)
image.png
WindmillJoin
3,362Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Recent Announcements
henri-c

Weekly kenote to tell you about our latest updates https://discord.com/channels/930051556043276338/1278977038430240813 https://youtube.com/live/2dGd9TdT8xs?feature=share

henri-c · 4d ago

Pyra

### HTTP tracing (EE) Capture HTTP requests made by job scripts as observability spans Features: - View HTTP request traces (method, URL, status, timing) in the job details UI - Auto-instrumentation for Native TypeScript, MITM proxy for other languages - Integrates with external OpenTelemetry collectors changelog: https://www.windmill.dev/changelog/http-tracing docs: https://www.windmill.dev/docs/advanced/instance_settings#http-tracing Additionally jobs memory metrics are now fully OSS!

Pyra · 2w ago

henri-c

First keynote of the year here https://discord.com/channels/930051556043276338/1278977038430240813 🙂

henri-c · 4w ago

Similar Threads

Import tasks from files.
alex4oAalex4o / help
2y ago
401 Unauthorized Webhook between TwentyCRM and Windmill
AntPruveAAntPruve / help
13mo ago
How to access any Google Api (Google Tasks) from windmill ?
MathisGMMathisG / help
5mo ago
beginner question: ECS terraform deployment; tasks are stuck in pending
CooperCCooper / help
2y ago