Closed edwo-dev closed 1 year ago
'Contract Definition' can not be created. 'Bad Request' error is thrown.
Contract definition is created.
Throws error message. Does not create contract definition.
Steps to reproduce the behavior:
id
Access policy
Contract policy
Assets
zone.js:2680 POST http://localhost:9191/api/management/v2/contractdefinitions 400 (Bad Request)
Request:
{ "id": "def-test-pdf_company1", "criteria": [ { "edc:operandLeft": "asset:prop:id", "edc:operator": "in", "edc:operandRight": [ "test-pdf_company1" ] } ], "accessPolicyId": "no-restriction-policy", "contractPolicyId": "no-restriction-policy" }
Response:
{ "servlet": "EDC-management", "message": "Bad Request", "url": "/api/management/v2/contractdefinitions", "status": "400" }
will be fixed by #55
Bug Report
Describe the Bug
'Contract Definition' can not be created. 'Bad Request' error is thrown.
Expected Behavior
Contract definition is created.
Observed Behavior
Throws error message. Does not create contract definition.
Steps to Reproduce
Steps to reproduce the behavior:
id
Access policy
Contract policy
Assets
Context Information
Error Information
zone.js:2680 POST http://localhost:9191/api/management/v2/contractdefinitions 400 (Bad Request)
Detailed Description
Request:
Response: