Hi everyone,
I’m working with the MOSIP Certify API to issue credentials, but I’ve hit a roadblock. When I make a POST request to the endpoint:
http://localhost:8090/v1/certify/issuance/credential
I get the following error response:
{
"error": "invalid_proof",
"error_description": "invalid_proof"
}
The server logs show this stack trace:
2024-11-13 22:47:55 {"@timestamp":"2024-11-13T17:17:55.154Z","@version":"1","message":"Unhandled exception encountered in handler advice","logger_name":"io.mosip.certify.advice.ExceptionHandlerAdvice","thread_name":"http-nio-8090-exec-6","level":"ERROR","level_value":40000,"stack_trace":"io.mosip.certify.core.exception.CertifyException: invalid_proof\n\tat io.mosip.certify.services.VCIssuanceServiceImpl.getCredential(VCIssuanceServiceImpl.java:99)\n\tat io.mosip.certify.controller.VCIssuanceController.getCredential(VCIssuanceController.java:43)\n\tat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)\n\tat java.base/java.lang.reflect.Method.invoke(Unknown Source)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:259)\n\tat org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:192)\n\tat org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:920)\n\tat org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInterna...
It seems like the error originates from VCIssuanceServiceImpl.java:99
.
If anyone has any insights or suggestions on how to debug or fix this, I’d really appreciate the help!