Any of the following could be a reason.
1. You're inputting the wrong passcode.
2. You've set up two-step or two-factor authorization and you're not inputting the app passcode.
3. You've inputted the incorrect passcode too many times causing the account to reject the correct one for a period of time.
4. Other