Scripted-sql-connector not getting enabled in IDM admin ui

I am trying to build a scripted-sql-connector for my IDM machine, i was able to create the connector inside IDM ui by editing and copying the /provisioner.openicf-.json into projects conf dir. However,the connector is not getting enabled. In IDM the connector is throwing bad request error and in the idm logs this is the error:-

Note: I am not using a RCS for this use case and the whole setup is inside our IDP.