From the above error message, we understand that you are trying to create an e-way bill and the transport mode is other than road.
Please note, if the transport mode is other than road, then the transporter doc number is mandatory.
We request you to enter the transporter doc number and then try creating the e-way bill again.