WeBankBlockchain / WeIdentity-Rest-Service

RESTful HTTP Service for WeIdentity Integration
17 stars 18 forks source link

registerAuthorityIssuer方法总是报错 #73

Closed foreso-GitHub closed 1 year ago

foreso-GitHub commented 1 year ago
  1. 调用registerAuthorityIssuer方法总是报201002错误 参数:
    {
    "functionArg": {
        "weid": "did:weid:1010:0xb06448aa71ff88c43815f5aaff87dd42fd1f1989",
        "name": "Test1"
    },
    "transactionArg": {
        "invokerWeId": "did:weid:1010:0x5de49942553e4d5647e3d9306979f42be47982ab"
    },
    "functionName": "registerAuthorityIssuer",
    "v": "1.0.0"
    }

    结果:

    {
    "respBody": null,
    "loopback": null,
    "errorCode": 201002,
    "errorMessage": "Input parameter contains null value or missing keys. "
    }

    其中did:weid:1010:0x5de49942553e4d5647e3d9306979f42be47982ab是管理员Weid,用此weid通过Weid网页管理工具能够成功注册AuthorityIssuer。

susengo commented 1 year ago

invokeWeID里面的参数换成ecdsa_key试试