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

Internal Server Error (500) when invoking /present-proof/presentations #1485

Open
Neethu-Muthu opened this issue Dec 18, 2024 · 0 comments
Open

Comments

@Neethu-Muthu
Copy link

Is this a regression?

No

Description

I encountered an issue while attempting to invoke the /present-proof/presentations endpoint. The request fails with a 500 Internal Server Error. Below are the details of the request and the error response.
Start the Identus Cloud Agent.

Use the following curl command to send a POST request to /present-proof/presentations

curl --location
--request POST 'http://localhost:9000/cloud-agent/present-proof/presentations'
--header 'Content-Type: application/json'
--data-raw '{
"connectionId": "1a1d1da9-f1e8-412e-9412-c0aadf5a15d1",
"proofs": [
{
"schemaId": "https://example.com/driving-license-1.0.0",
"trustIssuers": [
"did:prism:b2be2535ef463d4c1e7903ee97fc62a20494621c2f72fb52f1c8fed8b9d5b436"
]
}
],
"options": {
"challenge": "A challenge for the holder to sign",
"domain": "domain.com"
}
}'

Please provide the exception or error you saw

The server returns a 500 Internal Server Error with the following response:
{
    "status": 500,
    "type": "error:InternalServerError",
    "title": "Internal Server Error",
    "detail": "An unexpected error occurred when processing the request: path=['POST /present-proof/presentations']",
    "instance": "error:instance:ad2564bc-d53b-4c52-8b7a-8f4131b4f153"
}

Please provide the environment you discovered this bug in

Identus Cloud Agent version: 1.36.1 
OS: Ubuntu 22.04

Anything else?

The connectionId provided is valid and in an active state as per the /connections endpoint response.
The schema and trusted issuer DIDs are configured correctly in the system.

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

1 participant