Skip to content

Error when TTL is set #109

Description

@swcurran

Looks like a bug in the Server. I created a DID with the Wizard with a TTL of 3600. When I posted it:

Error: response status is 422

Response body
Download
{
  "status_code": 10422,
  "message": "[{'type': 'bool_parsing', 'loc': ('body', 'logEntry', 'parameters', 'ttl'), 'msg': 'Input should be a valid boolean, unable to interpret input', 'input': 3600}]",
  "data": null
}

DID Log:

{"versionId":"1-QmeAbaA2R4QrtujcAvwJZ4koGgeC2AnD8nERkPdjbxfZSR","versionTime":"2025-09-12T18:17:08Z","parameters":{"method":"did:webvh:1.0","scid":"QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg","updateKeys":["z6MkfmQbLidZ1Y4QjrJmUfEHYYWCmyqsKALrbfypvEkZMi5Y"],"portable":true,"nextKeyHashes":["QmSKtFdoQR1iP79uZbk9knF36A2odyfeLPgip1Kt5rZJzZ"],"ttl":3600},"state":{"@context":["https://www.w3.org/ns/did/v1","https://www.w3.org/ns/cid/v1"],"alsoKnownAs":["did:web:demo.identifier.me:c3i:test2"],"assertionMethod":["did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0"],"authentication":["did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0"],"capabilityDelegation":["did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0"],"capabilityInvocation":["did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0"],"id":"did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2","keyAgreement":["did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0"],"service":[],"verificationMethod":[{"controller":"did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2","id":"did:webvh:QmQv2ot4XRDcoMwuw4HM6RTU2oWCDiEE4sbDjrc6w17Frg:demo.identifier.me:c3i:test2#key-0","publicKeyMultibase":"z6MkvZYDVzU98SUYnjTm3p1u2dDnrRgijidaZpHzuZgnPjGx","type":"Multikey"}]},"proof":[{"type":"DataIntegrityProof","cryptosuite":"eddsa-jcs-2022","created":"2025-09-12T18:17:08Z","verificationMethod":"did:key:z6MkfmQbLidZ1Y4QjrJmUfEHYYWCmyqsKALrbfypvEkZMi5Y#z6MkfmQbLidZ1Y4QjrJmUfEHYYWCmyqsKALrbfypvEkZMi5Y","proofPurpose":"assertionMethod","proofValue":"z62QshRhEVffF4Fq3PnGA7xrfCqSeVoN3Ut4bDVoYbYb1Vie5ouRC3TrxoRRxfNyhZRfMkfrpiS14Dz94eCC1V9ia"}]}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions