WindmillWWindmill
Powered by
Chris @ Konnect3dC
Windmill•2y ago•
4 replies
Chris @ Konnect3d

ERROR: A script with same hash (...) already exists! (RESOLVED)

Running into some strange issues today...

I've run the same command hundreds of times, but all the sudden i'm getting back an error when trying to sync push my latest changes. 15mm ago i didn't get the error. It's possible i broke something, but again, i'm not sure how or if in fact it is on my side at all. Your advice and support to debug is greatly appreciated.

$> wmill script generate-metadata --yes
... OK

$> wmill sync push --yes
...
Applying changes to files ...
Creating script with a parent f/configs/status
Creating script with a parent f/lib/airtable
Creating script with a parent f/lib/common
Creating script with a parent f/lib/tally
Server failed. Bad Request: Bad request: A script with same hash (hence same path, description, summary, content) already exists!
error: Uncaught (in promise) ApiError: Bad Request
at catchErrorCodes (file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:224:15)
at file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:269:45
at Generator.next (<anonymous>)
at fulfilled (file:///Users/cward/Library/Caches/deno/npm/registry.npmjs.org/windmill-client/1.319.1/dist/core/request.js:5:58)
at eventLoopTick (ext:core/01_core.js:168:7)
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

Windmill CLI - Bad Request: script with same parent_hash has been found error
dfulton2009Ddfulton2009 / help
17mo ago
Find jobs completed with script_hash returns SQL error
ernoaapaEernoaapa / help
5mo ago
Scheduling a script programmatically from a script
GodswillGGodswill / help
7mo ago
# Go Script Package Conflict Error
bubusiBbubusi / help
8mo ago