-
Notifications
You must be signed in to change notification settings - Fork 21
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
Could not create notification contract definition, provider returned status code 404 #310
Comments
Hope you can help me resolve this issue |
The IRS is currently using the EDC V2 management endpoint. |
Hi @tuanphampmt, as Johannes mentioned, we still use the /management/v2 endpoint for our EDC communication. |
see #313 |
Hi @tuanphampmt, ess:
edc:
host: <your-edc-base-url>
assetsPath: /management/v3/assets
policydefinitionsPath: /management/v2/policydefinitions
contractdefinitionsPath: /management/v2/contractdefinitions I will close this issue now. Feel free to reopen it, if you still have issues. |
…y-service-mock feat(charts): Add discovery service mock
When I run to the IRS, I get the error
ERROR [main] o.e.t.i.e.s.EdcRegistration: Could not create notification contract definition, provider returned status code 404
The reason is that the data body is used in the wrong format
API: /management/v3/assets
Data body:
{ "@context": {}, "asset": { "@id": "ess-response-asset", "properties": { "description": "ESS notification endpoint", "contenttype": "application/json", "notificationtype": "ess-supplier-response", "notificationmethod": "receive" } }, "dataAddress": { "baseUrl": "http://irs:8080/ess/notification/receive", "type": "HttpData", "proxyBody": "true", "proxyMethod": "true" } }
Call API /management/v3/assets error: mandatory object 'https://w3id.org/edc/v0.0.1/ns/properties' is missing
The text was updated successfully, but these errors were encountered: