Admin user registration #affiliations #hyperledger-fabric



I've been trying to get the first user ever registered to my hyperledger-fabric network, using the function from ca.utils.ts: registerUserWallet, and since it's the very first user, it attempts to enroll the user as an admin user but for some reason fails to do so.

The error I'm getting is: Failed to register user : Error: fabric-ca request register failed with errors [[ { code: 71, message: 'Authorization failure' } ]].

Does anyone know how to fix this?

I checked online and it seems like it could be related to affiliations or user roles, but I'm not quite sure. 

Join to automatically receive all group messages.