Its hard to understand what is wrong with this error
See original GitHub issueIm trying to make a ION did with this setup, but get a strange error which does not lead me to anything. See after code
const key = await Bls12381G2KeyPair.generate();
const jwk = key.toJsonWebKeyPair();
const did = new ION.DID({
content: {
publicKeys: [
{
id: 'primary-issuing',
type: key.type,
publicKeyJwk: jwk.publicKeyJwk,
purposes: [ 'assertionMethod' ]
}
],
services: [
{
id: 'did-comm-agent',
type: 'DIDCommMessaging',
serviceEndpoint: 'https://mymagicaldidcomurl/messaging',
accept:[
"didcomm/v2",
"didcomm/aip2;env=rfc587"
],
}
]
}
});
Unexpected 5xx response: {"requestId":"1cbecd445bc68f48a1d34a257946d24c","date":"Wed, 22 Sep 2021 14:37:29 GMT","message":"continuation_storage_uncaught_exception: Error: document_composer_service_has_missing_or_unknown_property"}
Im not finding any place this is referenced in the SDK or the tool itself. How can I debug this? I thought it was all up to speed.
Things work with this one, so just keen on understanding
let authnKeys = await ION.generateKeyPair();
let did = new ION.DID({
content: {
publicKeys: [
{
id: 'key-1',
type: 'EcdsaSecp256k1VerificationKey2019',
publicKeyJwk: authnKeys.publicJwk,
purposes: [ 'authentication' ]
}
],
services: [
{
id: 'domain-1',
type: 'LinkedDomains',
serviceEndpoint: 'https://foo.example.com'
}
]
}
});
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why can't I understand things easily? People explain ...
The problem is that your brain is probably not processing the information you read or hear. This is where your brain is not...
Read more >It's Hard To Understand - YouTube
Provided to YouTube by Universal Music GroupIt's Hard To Understand · ClassifiedGreatful℗ 2016 Half Life RecordsReleased on: ...
Read more >'What Is Wrong With Me?' What to Do If You Feel This Way
In this case, it's perfectly normal to be thinking, “What is wrong with me?” And often, the answer lies in getting to the...
Read more >How to fix the Alexa “having trouble understanding right ...
1. Restarting your Echo will, among other things, force it to attempt to reconnect to its saved Wi-Fi network. If your Wi-Fi is...
Read more >Why It's So Hard to Admit You're Wrong
Our confirmation bias kicks in, causing us to seek out evidence to prove what we already believe.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think the reason we needed to switch to JsonWebKey2020 was because contexts for other types were missing the
publicKeyJwk
property and so the public key was being dropped from the did document when it was being loaded by a document loader to verify credentials with vc.js. I believe this was specific to the digital bazaar libraries we were using though and you may not encounter them if you use a different library or a different credential format.From did core
That’s a heck of a lot of optionality 😃