AriesFrameworkError: Failed to validate credential - Verification error(s) #1432
Replies: 2 comments 7 replies
-
We created here a repo with the steps to reproduce the issue: https://github.com/nearform/afj-bugs-repro |
Beta Was this translation helpful? Give feedback.
-
Okay, so I found the issue, which is that
I tried to replace I'm not 100% sure where the error is thrown, as stack traces in react native are the worst :( So will need to dive deeper on this, but it comes down to making sure that all references to I'll make a PR to your fork so you can see what i've been trying out |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm experiencing this issue on my React Native application (trying to set up a simple AFJ flow), with the Holder trying to store properly a JSON-LD credential issued by an Issuer:
This is my Issuer agent configuration:
And this is the code I'm using for issuing the JSON-LD credential:
The above code will print out a connection invite URL, that I'm processing in my Holder React Native App.
This is my Holder agent configuration:
And this is how I process the connection invite URL:
Then this code is called in the
CredentialState.OfferReceived
:The credential seems to be stored properly, but this validation error is clearly indicating that something is not properly set up.
These are the libraries I am using:
Common:
Issuer (NodeJS):
Holder (React Native):
Is the code I wrote, in particular the agent configuration, correct?
Am I missing something?
Do you have any suggestion?
Beta Was this translation helpful? Give feedback.
All reactions