Ensure the attendance type is associated with an appropriate pay type using the solution How to link an attendance type to a pay type.