One of the prices is not a valid price for the instrument you are buying/selling. U.S. options, for example, are priced in 0.05, 0.10 increments. Trying to use a price of 3.01 for an option will yield this message. Same goes for a price of 10.005 for a stock, 1166.123 for an ES contract, etc...