I Have to allow Just these Vlans
switchport trunk allowed vlan 14, 17
but kave a look the Command has Rejected:
Command rejected: Bad VLAN allowed list. You have to include all default vlans, e.g. 1-2,1002-1005.
How can Solve
What device are you getting this error meesage on. Some devices will give you this error message and you need to include those vlans on the trunk.
See attached link for more details.