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

Getting error while creating a Proof #35

Open
amutha-tg opened this issue Sep 15, 2024 · 1 comment
Open

Getting error while creating a Proof #35

amutha-tg opened this issue Sep 15, 2024 · 1 comment

Comments

@amutha-tg
Copy link

We are seeing this issue while creating a proof on receive message. Attached error logs here.

Proof request json: {"name":"Testing","version":"v1","nonce":"665426485822117709014251","requested_attributes":{"Dummy One":{"names":["Dummy Two"],"restrictions":[{"cred_def_id":"UgCAHEF9HscTD35NEMp9tm:3:CL:1187:1.1.0"}]}},"requested_predicates":{"Dummy One":{"name":"Dummy One","p_type":">=","p_value":50,"restrictions":[{"cred_def_id":"UgCAHEF9HscTD35NEMp9tm:3:CL:1187:1.1.0"}]}}}

Creating proof with requestedCredentials: {"requested_attributes":{"Dummy One":{"cred_id":"3d09a03e-b53f-48f7-89a4-1ba942bce071","revealed":true,"credentialInfo":{"referent":"3d09a03e-b53f-48f7-89a4-1ba942bce071","attrs":{},"schema_id":"UgCAHEF9HscTD35NEMp9tm:2:FirstResponder:1.1.0","cred_def_id":"UgCAHEF9HscTD35NEMp9tm:3:CL:1187:1.1.0"}}},"requested_predicates":{"Dummy One":{"cred_id":"3d09a03e-b53f-48f7-89a4-1ba942bce071","credentialInfo":{"referent":"3d09a03e-b53f-48f7-89a4-1ba942bce071","attrs":{},"schema_id":"UgCAHEF9HscTD35NEMp9tm:2:FirstResponder:1.1.0","cred_def_id":"UgCAHEF9HscTD35NEMp9tm:3:CL:1187:1.1.0"}}},"self_attested_attributes":{}}

Failed to dispatch message of type: did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/present-proof/1.0/request-presentation

failed to receive message: java.lang.Exception: Cannot create a proof using the provided credentials. anoncreds_uniffi.ErrorCode$InvalidState: Invalid state: Value by key 'dummyone' has invalid format

@conanoc
Copy link
Contributor

conanoc commented Sep 19, 2024

I'm not sure what caused this error. Can I see how you issued the credential or created the offer?

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

No branches or pull requests

2 participants