decentralized-identity / decentralized-identity/didwebvh-server-py

Error when TTL is set

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
6
Avg merge
2d 19h
Merged PRs (30d)
2

Description

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:

```json
{"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"}]}
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.