"Packet creation failed due to internal error" on the registration client

Hello there,

I am trying to the first operator enrolment and on the packet creation step, after entering the operator login and submitting, the app displays an error box with the message “Packet creation failed due to internal error”. I’ve successfully completed all of the previous steps.

Here is what I have in the registration.log:

2025-08-28 10:26:29,368 INFO [JavaFX Application Thread] i.m.r.u.SoftwareUpdateHandler : Checking for current version started...
2025-08-28 10:26:29,368 INFO [JavaFX Application Thread] i.m.r.u.SoftwareUpdateHandler : Checking for current version completed : 1.2.0.2
2025-08-28 10:26:29,374 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding Meta info to packet manager
2025-08-28 10:26:29,375 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000120250828082118 - setMetaInfo for source : REGISTRATION_CLIENT process : NEW
2025-08-28 10:26:29,382 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Requesting packet manager to persist packet
2025-08-28 10:26:29,383 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000120250828082118 - persistPacket for source : REGISTRATION_CLIENT process : NEW
2025-08-28 10:26:29,383 INFO [JavaFX Application Thread] i.m.c.p.i.PacketWriterImpl : SESSIONID - ID - 10001100000000120250828082118 - Started packet creation
2025-08-28 10:26:29,385 ERROR [JavaFX Application Thread] i.m.c.p.i.PacketWriterImpl : SESSION_ID - REGISTRATION_ID - 10001100000000120250828082118 - io.mosip.commons.packet.exception.PacketCreatorException: KER-KPM-002 --> Failed to parse json : org.json.JSONException: JSONObject["type"] not found.
        at org.json.JSONObject.get(JSONObject.java:566)
        at org.json.JSONObject.getString(JSONObject.java:851)
        at io.mosip.commons.packet.impl.PacketWriterImpl.loadSchemaFields(PacketWriterImpl.java:379)
        at io.mosip.commons.packet.impl.PacketWriterImpl.createPacket(PacketWriterImpl.java:144)
        at io.mosip.commons.packet.impl.PacketWriterImpl.persistPacket(PacketWriterImpl.java:438)
        at io.mosip.commons.packet.facade.PacketWriter.persistPacket(PacketWriter.java:160)
        at io.mosip.commons.packet.facade.PacketWriter$$FastClassBySpringCGLIB$$3b5f98ed.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
        at io.mosip.commons.packet.facade.PacketWriter$$EnhancerBySpringCGLIB$$ea12dae2.persistPacket(<generated>)
        at io.mosip.registration.service.packet.impl.PacketHandlerServiceImpl.handle(PacketHandlerServiceImpl.java:219)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       ....

I am using the registration client 1.2.0.2 on a private deployment by following the on-premise installation guideline and by using the mock mds among with other services on version 1.2.0.1 since registration client 1.2.0.1 is stuck at the login screen (ref .here)

How can I solve this issue? Thank you

Hi @smraa ,

Welcome to the MOSIP Community, and thank you for your query.

Looks like the ID schema was not published properly, please refer to the below document for the id schema.

Please publish the ID Schema and UI Specs and try to create a packet and upload it, this should resolve the issue. If you are still facing the issue can you please share the reg-client logs in “log” folder.

Thank you
Chaitanya K

Hi @ckesiraju
I already have an ID Schema and UI Specs published. I can have all of the screens in the reg-client, I am able to select and upload all of the documents and scan mocked biometrics with a running Mock MDS

Here is more log output of registration.log

2025-09-01 10:16:25,736 ERROR [JavaFX Application Thread] i.m.r.c.GenericController : Started to validate screen : Documents 
2025-09-01 10:16:25,737 DEBUG [JavaFX Application Thread] i.m.r.c.GenericController : #additionalInfoRequestId component is not created!
2025-09-01 10:16:25,737 INFO [JavaFX Application Thread] i.m.r.v.RequiredFieldValidator : Refreshed proofOfAddress field isRequired check, required ? true 
2025-09-01 10:16:25,737 INFO [JavaFX Application Thread] i.m.r.v.RequiredFieldValidator : Refreshed proofOfIdentity field isRequired check, required ? true 
2025-09-01 10:16:25,737 INFO [JavaFX Application Thread] i.m.r.v.RequiredFieldValidator : Refreshed proofOfRelationship field isRequired check, required ? true 
2025-09-01 10:16:25,737 INFO [JavaFX Application Thread] i.m.r.v.RequiredFieldValidator : Refreshed proofOfDateOfBirth field isRequired check, required ? false 
2025-09-01 10:16:25,737 ERROR [JavaFX Application Thread] i.m.r.c.GenericController : Started to validate screen : BiometricDetails 
2025-09-01 10:16:25,737 DEBUG [JavaFX Application Thread] i.m.r.c.GenericController : #additionalInfoRequestId component is not created!
2025-09-01 10:16:25,737 INFO [JavaFX Application Thread] i.m.r.s.b.i.BioServiceImpl : Biometric field individualBiometrics biometrics-captured-context >> {rightIndex=true, leftEye=true, leftLittle=true, rightLittle=true, leftIndex=true, face=true, rightThumb=true, rightEye=true, rightRing=true, rightMiddle=true, leftRing=true, leftThumb=true, leftMiddle=true}
2025-09-01 10:16:25,758 INFO [JavaFX Application Thread] i.m.r.c.BaseController : REGISTRATION - OPERATOR_AUTHENTICATION - REGISTRATION - REG - Validating Password
2025-09-01 10:16:25,758 DEBUG [JavaFX Application Thread] i.m.r.s.s.i.AuthenticationServiceImpl : Validating credentials using database >>>> smraa
2025-09-01 10:16:25,758 INFO [JavaFX Application Thread] i.m.r.u.r.ServiceDelegateUtil : Registration Network Checker had been called --> https://api-internal-sandbox.mosip-local-instance.com/v1/syncdata/actuator/health
2025-09-01 10:16:26,580 INFO [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : Fetching Auth Token and refresh token based on Login Mode >>> PASSWORD
2025-09-01 10:16:26,580 INFO [JavaFX Application Thread] i.m.k.c.s.i.TPMClientCryptoServiceImpl : ccSessionID - TPM -  - Creating the Key from Platform TPM
2025-09-01 10:16:26,580 INFO [JavaFX Application Thread] i.m.k.c.s.i.TPMClientCryptoServiceImpl : ccSessionID - TPM -  - Creating the Key from Platform TPM
2025-09-01 10:16:26,689 INFO [JavaFX Application Thread] i.m.k.c.s.i.TPMClientCryptoServiceImpl : ccSessionID - TPM -  - Completed Signing data using TPM
2025-09-01 10:16:26,689 INFO [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : Preparing URI for web-service >>>>>  https://api-internal-sandbox.mosip-local-instance.com/v1/syncdata/authenticate/useridpwd 
2025-09-01 10:16:26,689 INFO [JavaFX Application Thread] i.m.r.u.r.AuthTokenUtilService : Completed preparing URI for web-service >>>>>>> https://api-internal-sandbox.mosip-local-instance.com/v1/syncdata/authenticate/useridpwd 
2025-09-01 10:16:26,689 DEBUG [JavaFX Application Thread] i.m.r.u.r.RestClientUtil : invokeForToken method called https://api-internal-sandbox.mosip-local-instance.com/v1/syncdata/authenticate/useridpwd 
2025-09-01 10:16:27,046 DEBUG [JavaFX Application Thread] i.m.r.u.r.RestClientUtil : invokeForToken method ended https://api-internal-sandbox.mosip-local-instance.com/v1/syncdata/authenticate/useridpwd 
2025-09-01 10:16:27,046 INFO [JavaFX Application Thread] i.m.k.c.s.i.TPMClientCryptoServiceImpl : ccSessionID - TPM -  - Getting Asymmetric Key Creation from tpm
2025-09-01 10:16:27,195 INFO [JavaFX Application Thread] i.m.r.s.l.i.LoginServiceImpl : Fetching User details
2025-09-01 10:16:27,197 INFO [JavaFX Application Thread] i.m.r.d.i.UserDetailDAOImpl : Fetching User details
2025-09-01 10:16:27,199 INFO [JavaFX Application Thread] i.m.r.s.l.i.LoginServiceImpl : Completed fetching User details, user found : true
2025-09-01 10:16:27,199 INFO [JavaFX Application Thread] i.m.r.c.a.AuthenticationController : Loading next authentication screen
2025-09-01 10:16:27,199 INFO [JavaFX Application Thread] i.m.r.c.a.AuthenticationController : Submit Registration after Operator Authentication
2025-09-01 10:16:27,199 INFO [JavaFX Application Thread] i.m.r.c.r.PacketHandlerController : Showing receipt Started for process
2025-09-01 10:16:27,199 DEBUG [JavaFX Application Thread] i.m.r.s.t.i.TemplateServiceImpl : REGISTRATION - TEMPLATE_GENERATION - TEMPLATE_SERVICE_IMPL - REGISTRATION - REG - Getting required template from DB started
2025-09-01 10:16:27,200 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - generateTemplate had been called for preparing Acknowledgement Template.
2025-09-01 10:16:27,213 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/LOGO1.png
2025-09-01 10:16:27,214 ERROR [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - input == null!
2025-09-01 10:16:27,214 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/LOGO2.png
2025-09-01 10:16:27,214 ERROR [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - input == null!
2025-09-01 10:16:27,214 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/LOGO3.png
2025-09-01 10:16:27,214 ERROR [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - input == null!
2025-09-01 10:16:27,214 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/Eye.png
2025-09-01 10:16:27,232 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/Eye.png
2025-09-01 10:16:27,244 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/leftHand.png
2025-09-01 10:16:27,259 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/rightHand.png
2025-09-01 10:16:27,269 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/thumbs.png
2025-09-01 10:16:27,278 INFO [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - setting image >> /images/Photo.png
2025-09-01 10:16:27,299 DEBUG [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - merge method of TemplateManager had been called for preparing Acknowledgement Template.
2025-09-01 10:16:27,307 DEBUG [JavaFX Application Thread] i.m.r.u.a.TemplateGenerator : REGISTRATION - PACKET_CREATION - TEMPLATE_GENERATOR - REGISTRATION - REG - generateTemplate method has been ended for preparing Acknowledgement Template.
2025-09-01 10:16:27,307 INFO [JavaFX Application Thread] i.m.r.c.r.PacketHandlerController : Packet save has been started
2025-09-01 10:16:27,308 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Registration Handler had been called
2025-09-01 10:16:27,310 INFO [JavaFX Application Thread] i.m.r.d.i.IdentitySchemaDaoImpl : REGISTRATION - MASTER_SYNC - ID_SCHEMA_SYNC - REGISTRATION - REG - SCHEMA :: C:\Users\sib_asmraa\MOSIP\reg-client\SCHEMA_1.2.json
2025-09-01 10:16:27,310 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : REGISTRATION - PACKET_CREATION - PACKET_HANDLER - REGISTRATION - REG - Adding demographics to packet manager
2025-09-01 10:16:27,310 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : country
2025-09-01 10:16:27,311 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : country
2025-09-01 10:16:27,317 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : country source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,319 DEBUG [JavaFX Application Thread] i.m.c.p.c.PacketManagerConfig : SESSIONID - ID - null - Validating the reference provider writers are present or not.
2025-09-01 10:16:27,334 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : placeOfBirth
2025-09-01 10:16:27,334 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : placeOfBirth
2025-09-01 10:16:27,334 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : placeOfBirth source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,334 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : spouseFullName
2025-09-01 10:16:27,334 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : spouseFullName
2025-09-01 10:16:27,334 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : spouseFullName source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,335 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : gender
2025-09-01 10:16:27,335 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : gender
2025-09-01 10:16:27,335 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : gender source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,335 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : city
2025-09-01 10:16:27,335 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : city
2025-09-01 10:16:27,335 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : city source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,335 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : citizenship
2025-09-01 10:16:27,335 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : citizenship
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : citizenship source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : fullName
2025-09-01 10:16:27,336 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : fullName
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : fullName source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : dateOfBirth
2025-09-01 10:16:27,336 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : dateOfBirth
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : dateOfBirth source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : consent
2025-09-01 10:16:27,336 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : consent
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : consent source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,336 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : addressLine
2025-09-01 10:16:27,337 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : addressLine
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : addressLine source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : phone
2025-09-01 10:16:27,337 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : phone
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : phone source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : preferredLang
2025-09-01 10:16:27,337 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : preferredLang
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : preferredLang source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : residenceStatus
2025-09-01 10:16:27,337 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : residenceStatus
2025-09-01 10:16:27,337 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : residenceStatus source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,338 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : motherFullName
2025-09-01 10:16:27,338 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : motherFullName
2025-09-01 10:16:27,338 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : motherFullName source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,338 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : job
2025-09-01 10:16:27,338 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : job
2025-09-01 10:16:27,338 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : job source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,339 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : region
2025-09-01 10:16:27,339 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : region
2025-09-01 10:16:27,339 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : region source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,340 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : fatherFullName
2025-09-01 10:16:27,340 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : fatherFullName
2025-09-01 10:16:27,340 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : fatherFullName source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,340 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : maritalStatus
2025-09-01 10:16:27,340 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : maritalStatus
2025-09-01 10:16:27,340 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : maritalStatus source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,341 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : email
2025-09-01 10:16:27,341 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : email
2025-09-01 10:16:27,341 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : email source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,341 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics for field : height
2025-09-01 10:16:27,341 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding demographics to packet manager for field : height
2025-09-01 10:16:27,341 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setField for field name : height source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,341 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding Documents to packet manager
2025-09-01 10:16:27,343 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setDocument for field name : proofOfIdentity source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,343 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setDocument for field name : proofOfAddress source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,343 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setDocument for field name : proofOfDateOfBirth source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,343 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setDocument for field name : proofOfRelationship source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,344 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding Biometrics to packet manager started..
2025-09-01 10:16:27,344 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftLittle
2025-09-01 10:16:27,345 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftLittle
2025-09-01 10:16:27,345 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftLittle
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightThumb
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightThumb
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightThumb
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightIndex
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightIndex
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightIndex
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightLittle
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightLittle
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightLittle
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightEye
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightEye
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightEye
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftRing
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftRing
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftRing
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : face
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : face
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : face
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightRing
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightRing
2025-09-01 10:16:27,352 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightRing
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftEye
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftEye
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftEye
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftThumb
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftThumb
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftThumb
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftIndex
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftIndex
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftIndex
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : rightMiddle
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : rightMiddle
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : rightMiddle
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR for for bioAttribute : leftMiddle
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building BIR algorithm for for bioAttribute : leftMiddle
2025-09-01 10:16:27,353 DEBUG [JavaFX Application Thread] i.m.r.u.c.BIRBuilder : started building Quality type for for bioAttribute : leftMiddle
2025-09-01 10:16:27,354 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding biometric to packet manager for field : individualBiometrics
2025-09-01 10:16:27,354 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setBiometric for field name : individualBiometrics source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,355 INFO [JavaFX Application Thread] i.m.r.s.c.i.GlobalParamServiceImpl : Fetching list of global params
2025-09-01 10:16:27,355 INFO [JavaFX Application Thread] i.m.r.d.i.GlobalParamDAOImpl : REGISTRATION - GLOBALPARAMS - GLOBAL_PARAM_DAO_IMPL - REGISTRATION - REG - Fetching list of global params
2025-09-01 10:16:27,366 INFO [JavaFX Application Thread] i.m.r.d.i.GlobalParamDAOImpl : REGISTRATION - GLOBALPARAMS - GLOBAL_PARAM_DAO_IMPL - REGISTRATION - REG - List of global params fetched successfully
2025-09-01 10:16:27,367 INFO [JavaFX Application Thread] i.m.r.d.i.AuditDAOImpl : Fetching of all the audits which are to be added to Registration packet started for RID - 10001100000000220250901081419 from timestamp - null
2025-09-01 10:16:27,374 INFO [JavaFX Application Thread] i.m.r.d.i.AuditDAOImpl : Fetching of all the audits which are to be added to Registartion packet ended with count - 93
2025-09-01 10:16:27,377 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setAudits for source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,377 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : REGISTRATION - PACKET_CREATION - PACKET_HANDLER - REGISTRATION - REG - Adding registered devices to meta info
2025-09-01 10:16:27,379 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : REGISTRATION - PACKET_CREATION - PACKET_HANDLER - REGISTRATION - REG - Adding operations data to meta info
2025-09-01 10:16:27,379 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : REGISTRATION - PACKET_CREATION - PACKET_HANDLER - REGISTRATION - REG - Adding other info to meta info
2025-09-01 10:16:27,381 INFO [JavaFX Application Thread] i.m.r.u.SoftwareUpdateHandler : Checking for current version started...
2025-09-01 10:16:27,381 INFO [JavaFX Application Thread] i.m.r.u.SoftwareUpdateHandler : Checking for current version completed : 1.2.0.2
2025-09-01 10:16:27,385 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Adding Meta info to packet manager
2025-09-01 10:16:27,386 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - setMetaInfo for source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,392 DEBUG [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Requesting packet manager to persist packet
2025-09-01 10:16:27,392 INFO [JavaFX Application Thread] i.m.c.p.f.PacketWriter : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - persistPacket for source : REGISTRATION_CLIENT process : NEW
2025-09-01 10:16:27,392 INFO [JavaFX Application Thread] i.m.c.p.i.PacketWriterImpl : SESSIONID - ID - 10001100000000220250901081419 - Started packet creation
2025-09-01 10:16:27,395 ERROR [JavaFX Application Thread] i.m.c.p.i.PacketWriterImpl : SESSION_ID - REGISTRATION_ID - 10001100000000220250901081419 - io.mosip.commons.packet.exception.PacketCreatorException: KER-KPM-002 --> Failed to parse json : org.json.JSONException: JSONObject["type"] not found.
	at org.json.JSONObject.get(JSONObject.java:566)
	at org.json.JSONObject.getString(JSONObject.java:851)
	at io.mosip.commons.packet.impl.PacketWriterImpl.loadSchemaFields(PacketWriterImpl.java:379)
	at io.mosip.commons.packet.impl.PacketWriterImpl.createPacket(PacketWriterImpl.java:144)
	at io.mosip.commons.packet.impl.PacketWriterImpl.persistPacket(PacketWriterImpl.java:438)
	at io.mosip.commons.packet.facade.PacketWriter.persistPacket(PacketWriter.java:160)
	at io.mosip.commons.packet.facade.PacketWriter$$FastClassBySpringCGLIB$$3b5f98ed.invoke(<generated>)
	....
2025-09-01 10:16:27,398 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : Finally clearing all the captured data from registration DTO
2025-09-01 10:16:27,399 INFO [JavaFX Application Thread] i.m.r.s.p.i.PacketHandlerServiceImpl : REGISTRATION - PACKET_CREATION - PACKET_HANDLER - REGISTRATION - REG - Registration Handler had been ended

You can also find the compete regustration.log here

Dear @smraa

Welcome to the MOSIP Community.

Thank you for your query. To help us resolve the issue, please share the ID Schema and UI Specs that you are using, so that we can review them and provide you with the exact cause of the issue.

Best regards,
Chaitanya K
Team MOSIP

Hello @ckesiraju

Thanks for your answer.

Here is my IDSchema:

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "MOSIP base identity schema as starting point",
  "additionalProperties": false,
  "title": "MOSIP base identity",
  "type": "object",
  "definitions": {
    "simpleType": {
      "uniqueItems": true,
      "additionalItems": false,
      "type": "array",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "required": [
          "language",
          "value"
        ],
        "properties": {
          "language": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "documentType": {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "format": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "refNumber": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "biometricsType": {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "format": {
          "type": "string"
        },
        "version": {
          "type": "number",
          "minimum": 0
        },
        "value": {
          "type": "string"
        }
      }
    }
  },
  "properties": {
    "identity": {
      "additionalProperties": false,
      "type": "object",
      "required": [
        "IDSchemaVersion",
        "fullName",
        "maritalStatus",
        "dateOfBirth",
        "placeOfBirth",
        "gender",
        "citizenship",
        "addressLine",
        "postalCode",
        "city",
        "region",
        "country",
        "phone",
        "email",
        "proofOfIdentity",
        "individualBiometrics"
      ],
      "properties": {
        "IDSchemaVersion": {
          "bioAttributes": [],
          "fieldCategory": "none",
          "format": "none",
          "type": "number",
          "fieldType": "default",
          "minimum": 0
        },
        "UIN": {
          "bioAttributes": [],
          "fieldCategory": "none",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "fullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "maritalStatus": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "dateOfBirth": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(1869|18[7-9][0-9]|19[0-9][0-9]|20[0-9][0-9])/([0][1-9]|1[0-2])/([0][1-9]|[1-2][0-9]|3[01])$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "placeOfBirth": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "gender": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "residenceStatus": {
          "bioAttributes": [],
          "fieldCategory": "kyc",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "citizenship": {
          "bioAttributes": [],
          "fieldCategory": "kyc",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "job": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,50}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "height": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(1[0-9][0-9]|2[0-4][0-9]|250)$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "eyeColor": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "fatherFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "motherFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "spouseFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "addressLine": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "country": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "region": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "city": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "postalCode": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^([0-9]{3,5})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "email": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^[A-Za-z0-9_\\-]+(\\.[A-Za-z0-9_]+)*@[A-Za-z0-9_-]+(\\.[A-Za-z0-9_]+)*(\\.[a-zA-Z]{2,})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "phone": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(\\+)*([1-9]){1}\\d{3,16}$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "proofOfAddress": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfIdentity": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfRelationship": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfDateOfBirth": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfException": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "referenceIdentityNumber": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^([0-9]{10,30})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "kyc",
          "type": "string",
          "fieldType": "default"
        },
        "individualBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        },
        "individualAuthBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        },
        "introducerName": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "introducerRID": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "introducerUIN": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "introducerBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        }
      }
    }
  }
}

I uploaded all of the registration-client UI-Specs here since they won’t fit the comment section

Hi @smraa

Upon reviewing the ID Schema and UI specifications, we identified that the issue lies in the ID Schema — the newly added attributes are missing the required ‘type’ field. We have added type in the shared ID Schema. Kindly publish this updated schema along with the UI specifications and then attempt to create a packet.

Thank you
Chaitanya K
Team MOSIP

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "MOSIP base identity schema as starting point",
  "additionalProperties": false,
  "title": "MOSIP base identity",
  "type": "object",
  "definitions": {
    "simpleType": {
      "uniqueItems": true,
      "additionalItems": false,
      "type": "array",
      "items": {
        "additionalProperties": false,
        "type": "object",
        "required": [
          "language",
          "value"
        ],
        "properties": {
          "language": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "documentType": {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "format": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "refNumber": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "biometricsType": {
      "additionalProperties": false,
      "type": "object",
      "properties": {
        "format": {
          "type": "string"
        },
        "version": {
          "type": "number",
          "minimum": 0
        },
        "value": {
          "type": "string"
        }
      }
    }
  },
  "properties": {
    "identity": {
      "additionalProperties": false,
      "type": "object",
      "required": [
        "IDSchemaVersion",
        "fullName",
        "maritalStatus",
        "dateOfBirth",
        "placeOfBirth",
        "gender",
        "citizenship",
        "addressLine",
        "postalCode",
        "city",
        "region",
        "country",
        "phone",
        "email",
        "proofOfIdentity",
        "individualBiometrics"
      ],
      "properties": {
        "IDSchemaVersion": {
          "bioAttributes": [],
          "fieldCategory": "none",
          "format": "none",
          "type": "number",
          "fieldType": "default",
          "minimum": 0
        },
        "UIN": {
          "bioAttributes": [],
          "fieldCategory": "none",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "fullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "maritalStatus": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "dateOfBirth": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(1869|18[7-9][0-9]|19[0-9][0-9]|20[0-9][0-9])/([0][1-9]|1[0-2])/([0][1-9]|[1-2][0-9]|3[01])$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "placeOfBirth": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "gender": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "residenceStatus": {
          "bioAttributes": [],
          "fieldCategory": "kyc",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "citizenship": {
          "bioAttributes": [],
          "fieldCategory": "kyc",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "job": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,50}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "height": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(1[0-9][0-9]|2[0-4][0-9]|250)$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default"
        },
        "eyeColor": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "fatherFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "motherFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "spouseFullName": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{0,200}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "addressLine": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).*",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "country": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "region": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "city": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(?=.{2,50}$).+",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "postalCode": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^([0-9]{3,5})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "email": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^[A-Za-z0-9_\\-]+(\\.[A-Za-z0-9_]+)*@[A-Za-z0-9_-]+(\\.[A-Za-z0-9_]+)*(\\.[a-zA-Z]{2,})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "phone": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^(\\+)*([1-9]){1}\\d{3,16}$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "proofOfAddress": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfIdentity": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfRelationship": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfDateOfBirth": {
          "bioAttributes": [],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "proofOfException": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/documentType"
        },
        "referenceIdentityNumber": {
          "bioAttributes": [],
          "validators": [
            {
              "validator": "^([0-9]{10,30})$",
              "arguments": [],
              "type": "regex"
            }
          ],
          "fieldCategory": "pvt",
          "format": "kyc",
          "type": "string",
          "fieldType": "default"
        },
        "individualBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        },
        "individualAuthBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        },
        "introducerName": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/simpleType"
        },
        "introducerRID": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "introducerUIN": {
          "bioAttributes": [],
          "fieldCategory": "evidence",
          "format": "none",
          "type": "string",
          "fieldType": "default"
        },
        "introducerBiometrics": {
          "bioAttributes": [
            "leftEye",
            "rightEye",
            "rightIndex",
            "rightLittle",
            "rightRing",
            "rightMiddle",
            "leftIndex",
            "leftLittle",
            "leftRing",
            "leftMiddle",
            "leftThumb",
            "rightThumb",
            "face"
          ],
          "fieldCategory": "pvt",
          "format": "none",
          "fieldType": "default",
          "$ref": "#/definitions/biometricsType"
        }
      }
    }
  }
}

Hi @ckesiraju
is the ID Schema you just sent the same as the one I sent, or did I miss something?
I already double checked it. If so, where should I add the ‘type’ field?
Thank you

I resolved the issue by myself by adding the missing type field for the attributes placeOfBirth, job and height. I am able to create the packet now.

Thanks for your help.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.