Server keeps shutting down and shows this log #1374
Unanswered
Chaitanya-Gupta14
asked this question in
Q&A
Replies: 1 comment
-
Condition for a schema creation is: Schema title/name, evidence type in the credentialTemplate should be same. Eg: This a valid context and schema combination |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
pTemplate.html"}}}"
vc-management-service_1 | }
vc-management-service_1 | Response Body:
vc-management-service_1 | {
vc-management-service_1 | "message": {
vc-management-service_1 | "message": "evidence type doesn't match with schema"
vc-management-service_1 | }
vc-management-service_1 | }
vc-management-service_1 | Response: 400 16.437 ms
vc-management-service_1 | undefined:128
vc-management-service_1 | }
vc-management-service_1 | ^
vc-management-service_1 |
vc-management-service_1 | SyntaxError: Unexpected token } in JSON at position 3204
vc-management-service_1 | at JSON.parse ()
vc-management-service_1 | at addRoleIfNotPresent (/app/src/middleware/role-add.middleware.js:4:23)
vc-management-service_1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
vc-management-service_1 | at next (/app/node_modules/express/lib/router/route.js:144:13)
vc-management-service_1 | at tokenValidationMiddleware (/app/src/middleware/auth.middleware.js:20:9)
vc-management-service_1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
Here we are working on VC management service. We are facing the issue of server shutdown from the backend. After calling the add schema API, the server shuts down unexpectedly and gives this log. I have solved the error of " } " but this log keeps coming in the server.
Beta Was this translation helpful? Give feedback.
All reactions