help me create the right issue credential 2.0 create json body. i am using hyperledger…
Rate quality
Private research annotation
Sign in to add a private research label or note.
- User
help me create the right issue credential 2.0 create json body. i am using hyperledger aries acapy agent. and this is the body i am using. i am not sure, but it fails saying 500 server error. and when i look into the logs, it says "ERROR Handler error with exception: AnonCredsIssuer.match_created_credential_definitions() got an unexpected keyword argument 'issuer_did'"
this is the json body i am using
code{ "auto_remove": true, "comment": "Performance Issuance", "connection_id": "somethingTODO****************", "credential_preview": { "@type": "issue-credential/2.0/credential-preview", "attributes": [ { "mime-type": "text/plain", "name": "given_names", "value": "[Redacted Person]" }, { "mime-type": "text/plain", "name": "family_name", "value": "Doe" }, { "mime-type": "text/plain", "name": "birthdate_dateint", "value": "[Redacted PhoneNumber]" }, { "mime-type": "text/plain", "name": "street_address", "value": "[Redacted Address] }, { "mime-type": "text/plain", "name": "locality", "value": "Anytown" }, { "mime-type": "text/plain", "name": "region", "value": "Anystate" }, { "mime-type": "text/plain", "name": "postal_code", "value": "12345" }, { "mime-type": "text/plain", "name": "country", "value": "Countryland" }, { "mime-type": "text/plain", "name": "[Redacted Person]", "value": "base64encodedimagehere" }, { "mime-type": "text/plain", "name": "expiry_date_dateint", "value": "[Redacted PhoneNumber]" } ] }, "filter": { "indy": { "cred_def_id": "61YNn1vJ27hisD7zLbXMAp:3:CL:2603:sans-revocation", "issuer_did": "61YNn1vJ27hisD7zLbXMAp", "schema_id": "2Kzarh8bjgscRs3PLCBpSD:2:ANIG:1.0", "schema_issuer_did": "2Kzarh8bjgscRs3PLCBpSD", "schema_name": "ANIG", "schema_version": "1.0" } }, "trace": true } Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.