The reason you're getting the error is because in the contract calculator the top field is the base salary + bonus. If you are signing a player to a minimum salary for more than one year, you have to include the minimum salary + the first year bonus in the top field. In this case it is often easier to just enter the values in the table at the bottom.