You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the IBM Blockchain platform console to create the network and using the fabcar sample to connect to the network with SDK. The enrollAdmin.js script is successful but the registerUser.js is giving the below error message.
Failed to register user user1: TypeError [ERR_INVALID_ARG_TYPE]: The "options.ca" property must be one of type string, Buffer, TypedArray, or DataView. Received type object.
As per my analysis the issue is with the line.
const secret = await ca.register({ affiliation: '', enrollmentID: userName, role: 'client' }, adminIdentity);
I am not sure how to resolve it,could you please help on this.
The text was updated successfully, but these errors were encountered:
I am using the IBM Blockchain platform console to create the network and using the fabcar sample to connect to the network with SDK. The enrollAdmin.js script is successful but the registerUser.js is giving the below error message.
Failed to register user user1: TypeError [ERR_INVALID_ARG_TYPE]: The "options.ca" property must be one of type string, Buffer, TypedArray, or DataView. Received type object.
As per my analysis the issue is with the line.
const secret = await ca.register({ affiliation: '', enrollmentID: userName, role: 'client' }, adminIdentity);
I am not sure how to resolve it,could you please help on this.
The text was updated successfully, but these errors were encountered: