Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

After entering the data in pre-registration, we get you might be getting technical error after clicking on the continue button to move to on the pre-registration demographic screen. The error message in the pre-registration ui after debugging states that mandatory input data is missing.

...

This error occurs when mandatory pre-registration data sent to server is missing in the ID object of the create application API. The name of the missing parameter is ideally attribute should be mentioned at the end of the error message.

  1. Verify if the data mentioned is part of your pre-registration UI specification or not.

  2. If no, then,

    1. If you really think that it is an missing attribute in your UI specification then, You can add the attribute in pre-registration-demographic.json in the mosip-config repository and restart the pre-registration application service.If you don’t think this error should come in first place as it might be an mandatory field for any other module but not pre-registration, then, , (in case you want the attribute as part of pre-registration-ui) or

    2. You can make sure the attribute is not available in the below properties in application-mz.properties and restart pre-registration application service (in case you don’t want the attribute as part of pre-registration-ui).

      1. mosip.kernel.idobjectvalidator.mandatory-attributes.pre-registration.new-registration=

      2. mosip.kernel.idobjectvalidator.mandatory-attributes.pre-registration.child-registration=

  3. If yes, then,

    1. If you are performing an direct API call and you are missing the parameterattribute, then add the parameter attribute in proper format and proceedcall the API again.

    2. If you are getting this error in the UI screen then most probably its an coding issue hence connect with the Tech team.

...