Hello,
I'm trying to publish a private plugin (windy-plugin-ekinox-stratege, private: true) with the publish step of windy-plugin-template (curl -XPOST https://node.windy.com/plugins/v1.0/upload -H "x-windy-api-key: …" -F "plugin_archive=@../plugin.tar").
Every upload returns HTTP 415 Unsupported Media Type in about 0.2 s, with no detail. A wrong key returns 401, so my key is accepted.
Since October 6 I have tried about 20 variants, all with the same 415. They include the template's exact step; GNU, ustar and pax tar formats; tar.gz and zip; a raw body; and explicit content types. Today, October 17, I also used a public repository (bsineau/ekinox-windy-public) and a brand-new Plugins key created on my FRA915 account. The last attempt was at 08:25 UTC.
Other developers publish with the same step, so the problem seems specific to my account. Could you check it?
I need a windy-plugins.com URL to use the plugin on my phone during the Route du Rhum (start November 2026).
Thanks,
Benoît (FRA915)
Latest posts made by FRA915
-
Plugin upload always returns HTTP 415 – account FRA915
-
RE: Private plugin upload: always HTTP 415 on /plugins/v1.0/upload
Update: I ran 18 upload variants, all with the same "Plugins" API key, and every one gets "HTTP 415 Unsupported Media Type" with no other detail, in ~0.15 s:
- multipart field plugin_archive with tar (GNU, ustar, pax), tar.gz and zip, with and without explicit type;
- raw body (no multipart) with Content-Type application/x-tar, application/octet-stream, and application/gzip;
- the exact command of the official windy-plugin-template (dist folder with plugin.json, plugin.min.js and screenshot.jpg).
An invalid key gets 401, so the key itself seems recognised. Since the archive format and the request form make no difference, could you check whether my account (FRA915) or my key is allowed to upload plugins, or whether something is wrong on the server side? Thanks!
-
Private plugin upload: always HTTP 415 on /plugins/v1.0/upload
Hello,
I'm trying to publish a private plugin (Svelte, built with the official windy-plugin-template) through the upload API, from a GitHub Action:
curl -XPOST 'https://node.windy.com/plugins/v1.0/upload'
-H "x-windy-api-key: "
-F "plugin_archive=@plugin.tar"The key is a "Plugins" service key and seems to be accepted, but every upload returns HTTP 415 Unsupported Media Type. I tried 11 variants, all with the same 415:
- tar formats: GNU (Ubuntu default), POSIX ustar and pax;
- archive contents: plugin.json + plugin.js + plugin.js.map + plugin.min.js + package.json, and a minimal one (plugin.json + plugin.min.js);
- attachment type: guessed by curl (application/octet-stream), application/x-tar, application/tar.
Could you tell me what the endpoint expects exactly: form field name, content type, archive format (tar, tar.gz, zip?) and the expected file layout inside the archive? An example of a working upload command would be perfect.
The plugin works fine in developer mode (https://localhost:9999/plugin.js).
Thanks!
-
Plugin upload always returns 415 "Unsupported Media Type"
@ivo Hello,
I'm trying to publish a private plugin with the official template workflow (windycom/windy-plugin-template, .github/workflows/publish-plugin.yml, upload step unchanged). The request POST https://node.windy.com/plugins/v1.0/upload with my "Windy Plugins API" key always answers 415 Unsupported Media Type.
The key itself seems fine: with an invalid key the same request answers 401.
I tried 11 variants, all answered 415:
- full dist (plugin.js, plugin.js.map, plugin.min.js, plugin.json, package.json), then without the map, without package.json, and only plugin.min.js + plugin.json;
- an ASCII-only plugin.json;
- GNU, ustar and pax tar formats;
- the file part sent as application/octet-stream, application/x-tar and application/tar.
plugin.json has "private": true, name windy-plugin-ekinox-stratege, version 0.1.0, built with @windycom/plugin-devtools 3.0.5.
The source repository is a private GitHub repository. Could that be the reason? Is a public repository required even for a private plugin?
Is there a requirement on the account, the plugin name or the archive that is not in the docs?
Thank you!