Apple ID Not Working To Reset Password
You can reset your user password directly from your MacBook Air.

Resetting password from Recovery Mode

To reset your password from Recovery Mode, follow these steps:


Power off your Mac
Boot into Recovery Mode by pressing the power button while holding down CommandR
If prompted, select your language and press enter
Choose Utilities > Terminal.
Enter resetpassword (all one word, lowercase letters)
Press Return
Select the drive with your account (typically the main drive)
Choose your account using Select the User Account.
Enter a new password 
Re-enter the same password
Enter a password hint
Click Save 
Ignore the warning about the password changing
Click OK.
Shutdown the Mac using Apple > Shut Down
Restart the Mac normally and use the new password to log into your account


Let me know how you go or if I misunderstood your question.