Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-5538

Unclear validation error when required field is missing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.0.0.Beta2
    • 2.0.0.Beta1
    • core-library
    • None
    • False
    • None
    • False

    Description

      An example of such validation error is a missing server.id for MySQL connector which leads to

      PUT /connectors/inventory-connector-mysql1661099043556/config returned
              400 (Bad Request): Connector configuration is invalid and contains the
              following 1 error(s):
      
              A value is required
      
              You can also find the above list of errors at the endpoint
              `/connector-plugins/{connectorType}/config/validate`
      

      The error message is missing the name of the field.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcechace@redhat.com Jakub Čecháček
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: