I had been command line notarizing my two py2app (python applications) successfully now for 7 months; I use a set of canned scripts; I stored the notarization App ID in my key chain;
as follows:
xcrun altool --store-password-in-keychain-item \
APP_PASSWORD \
-u <my apple id> \
-p <the app id I generated>
The script uses this CLI
xcrun notarytool submit Pyut.zip --keychain-profile "APP_PASSWORD" --verbose --progress --wait
All of a sudden now notarization fails with:
Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect. Use the app-specific password generated at appleid.apple.com. Ensure that all authentication arguments are correct.