As of November 1st 2023, Apple have deprecated the use of altool for notarization. You must update your workflow to use notarytool to notarize your macOS applications.
For more information, refer to Migrating to the latest notarization tool and Enable notarization on an older version of macOS.