I am developing a Spring boot application where one of the entities have UUID as ID. When I try to delete the entity, I get the below error with 400. Any input is highly appreciated. I am a new learner, so please be gentle :) Thanks.
Field error in object 'UUID' on field 'mostSigBits': rejected value [null]; codes [typeMismatch.UUID.mostSigBits,typeMismatch.mostSigBits,typeMismatch.long,typeMismatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [UUID.mostSigBits,mostSigBits]; arguments []; default message [mostSigBits]]; default message [Failed to convert value of type 'null' to required type 'long'; nested exception is org.springframework.core.convert.ConversionFailedException: Failed to convert from type [null] to type [long] for value 'null'; nested exception is java.lang.IllegalArgumentException: A null value cannot be assigned to a primitive type]