Skip to content

Automation: show error if required property not in query #218

@silvester-pari

Description

@silvester-pari

Currently, when calling an automation via query params, there is no error message if a required property is missing. Later it fails randomly at some point if that property is used in automation steps, giving the user an error message which is hard to understand. For example:

    inputSchema: {
      type: "object",
      properties: {
        file: {
          type: "string",
          minLength: 1,
        },
        type: {
          type: "string"
        }
      },
      required: ["file", "type"],
    },

--> if the automation call url is missing query param of "file" or "type", then the automation should immediately abort/not start and show the user that the parameter is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions