Skip to content

The error message is cryptic #3636

Description

@mytskine

I ran a command web-ext sign ... and got the following error message:

WebExtError: Submission failed (2): Bad Request
{
  "version": {
    "license": [
      "This field, or custom_license, is required for listed versions."
    ]
  }
}
    at file:///.../web-ext@9.3.0/node_modules/web-ext/lib/cmd/sign.js:101:13

What am I supposed to understand?

  • Is it about a file in my source code? Which one?
  • Is it about a parameter of web-ext sign? But I couldn't find anything related.
  • Is it about a field "licence" under "version"? Or is "version" just something internal to the API or web-ext?

My addon source dir has a "LICENSE" file.
There is also a "manifest.json" v3 file, with "version": "1.0.0".
I tried adding a "license": "GPL-3.0-or-later", line. I read all of the MDN doc and Mozilla doc I could find. There was a discussion about this JSON error in an Github-actions context where the solution was to change the API call. One hour after, I still have no idea how to fix this.

Could you please turn this error message into something a human can parse?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions