You are trying to notarize the zip file. You notarize the app. The zip is only for final distribution.
Since you mentioned electron, there is a strong likelihood that you will continue to get notarization failures after this. But you have to fix the zip first. Then, once your notarization commands are working, don't forget to actually try to post it and download said zip. That is where it is most likely to fail.
Topic:
Code Signing
SubTopic:
Notarization
Tags: