WindmillWWindmill
Powered by
atooA
Windmill•2y ago•
2 replies
atoo

VS code extension returns an error when pushing changes

I have a little issue when trying to use the Windmill extension on VS Code. When I pull, everything works fine. I modify a script, but when I use the command
wmill sync push
wmill sync push
, I get the following error:

Server failed. Unprocessable Entity: Failed to deserialize the JSON body into the target type: lock: invalid type: string "certifi==2024.2.2\ncharset-normalizer==3.3.2\nidna==3.6\nrequests==2.31.0\nurllib3==2.2.1", expected a sequence at line 1 column 1816
Error details of: Generic Error
{
    "url": "https://windmill.xxxxxx.fr/api/w/integrations/scripts/create",
    "status": 422,
    "statusText": "Unprocessable Entity",
    "body": "Failed to deserialize the JSON body into the target type: lock: invalid type: string \"certifi==2024.2.2\\ncharset-normalizer==3.3.2\\nidna==3.6\\nrequests==2.31.0\\nurllib3==2.2.1\", expected a sequence at line 1 column 1816",
    "request": {
        "method": "POST",
        "url": "/w/{workspace}/scripts/create",
        "path": {
            "workspace": "integrations"
...
Server failed. Unprocessable Entity: Failed to deserialize the JSON body into the target type: lock: invalid type: string "certifi==2024.2.2\ncharset-normalizer==3.3.2\nidna==3.6\nrequests==2.31.0\nurllib3==2.2.1", expected a sequence at line 1 column 1816
Error details of: Generic Error
{
    "url": "https://windmill.xxxxxx.fr/api/w/integrations/scripts/create",
    "status": 422,
    "statusText": "Unprocessable Entity",
    "body": "Failed to deserialize the JSON body into the target type: lock: invalid type: string \"certifi==2024.2.2\\ncharset-normalizer==3.3.2\\nidna==3.6\\nrequests==2.31.0\\nurllib3==2.2.1\", expected a sequence at line 1 column 1816",
    "request": {
        "method": "POST",
        "url": "/w/{workspace}/scripts/create",
        "path": {
            "workspace": "integrations"
...


I get this error even when trying to simply add a variable like
index=1
index=1
in a Python script. I've searched on Discord but didn't see anyone with the same issue. Any idea where this might be coming from? Thanks!
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

Add an event when the data in the AgGrid Table changes
hvglcsHhvglcs / help
3y ago
how can PowerShell returns an json array?
thomas-sh4uTthomas-sh4u / help
2y ago
Internal server error when using ai code generator
sigcoreSsigcore / help
3y ago
I keep getting an error that says that the psycopg2 python module doesn't exist when i run code
Joldz 🔮JJoldz 🔮 / help
2y ago