Does your canister have an init() method that expects an argument? If so, you’d have to provide that using --argument <candid argument> when running dfx deploy
init()
--argument <candid argument>
dfx deploy