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

Issue while declining the credential offer #1858

Open
sairanjit opened this issue May 8, 2024 · 2 comments · May be fixed by #1859
Open

Issue while declining the credential offer #1858

sairanjit opened this issue May 8, 2024 · 2 comments · May be fixed by #1859

Comments

@sairanjit
Copy link
Contributor

ERROR: Error handling message with type https://didcomm.org/issue-credential/2.0/problem-report {
  "message": {
    "@type": "https://didcomm.org/issue-credential/2.0/problem-report",
    "@id": "f5fa72ac-f98e-4857-8442-5442e06cab55",
    "description": {
      "en": "Declined by holder",
      "code": "issuance-abandoned"
    },
    "~thread": {
      "thid": "510ecce1-818b-4751-8c03-244ded51b842",
      "pthid": "fbc2a473-d306-478e-a558-9f25bf1ec310"
    }
  },
  "error": {
    "name": "RecordNotFoundError",
    "message": "CredentialRecord: No record found for given query '{\"connectionId\":\"a283bfab-fd15-46ba-8dae-f0bd249350f0\",\"threadId\":\"510ecce1-818b-4751-8c03-244ded51b842\"}'",
  },
  "senderKey": "z6MkfxkeseKXHYJ37vzXXJPM7wKYRVMivZNkWqNXCC2ifvBx",
  "recipientKey": "z6Mkvr76YcHTfc1uRRDa8XMifKxsTA2AWHXBKe4uo7kNXhJ1",
  "connectionId": "a283bfab-fd15-46ba-8dae-f0bd249350f0"
}

This is happening because there is no connection attached for credential record in the credential repository

@sairanjit sairanjit linked a pull request May 8, 2024 that will close this issue
@berendsliedrecht
Copy link
Contributor

Not related to your issue, but are we sending a problem-report message with this as the error to the recipient?

{
    "name": "RecordNotFoundError",
    "message": "CredentialRecord: No record found for given query '{\"connectionId\":\"a283bfab-fd15-46ba-8dae-f0bd249350f0\",\"threadId\":\"510ecce1-818b-4751-8c03-244ded51b842\"}'",
}

This seems quite weird to me. Or is this something you added yourself and not handled via the framework?

@sairanjit
Copy link
Contributor Author

This error is on the issuer side itself and not on the holder(recipient) side. I just copied the error here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants