Unable to save Coded Allergen

I am trying to add allergyui module 1.8.1 to Kenyaemr. I have installed the module and it starts well. Though when I try to save, the coded allergen saves null whereas other sections just saves well. what could be the issue? Kenyaemr currently is running on openmrs 1.12.1

hi @makombe, can you paste the server logs in paste bin and post the link here?