Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DID document isn't saved after passwordless signup (anchoredDidElem is an excess property) #169

Open
dogada opened this issue Oct 24, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dogada
Copy link

dogada commented Oct 24, 2021

After passwordless signup using email browser (sdk 6.0.0-beta.20) sends to https://affinity-registry.prod.affinity-project.org/api/v1/did/anchor-did following data:

{
  "did": "did:elem:EiBDV8Srp_gnp2P-5CKnGePz9dcvTN3_WSiyj4-oGpMBRw;elem:initial-state=...",
  "didDocumentAddress": "",
  "ethereumPublicKeyHex": "",
  "transactionSignatureJson": "",
  "nonce": 0,
  "anchoredDidElem": false
}

and server response with error 400:

{"serviceName":"REG","code":"COM-3","message":"Invalid operation parameters.","context":{},"originalError":{},"httpStatusCode":400,"fields":{"anchorDidInput..anchoredDidElem":{"message":"\"anchoredDidElem\" is an excess property and therefore is not allowed","value":"anchoredDidElem"}}}
@anton-iskryzhytskyi anton-iskryzhytskyi self-assigned this Oct 24, 2021
@anton-iskryzhytskyi anton-iskryzhytskyi added the bug Something isn't working label Oct 24, 2021
@anton-iskryzhytskyi
Copy link
Contributor

@dogada Thank you for raising the issue, we are investigating that and will be back with a response soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants