Version: EDC v0.11+, likely the same problem on 0.14.
This message returns HTTP 400 on /catalog/request
{
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
},
"@type": "CatalogRequest",
"protocol": "dataspace-protocol-http",
"edc:counterPartyAddress": "{{PROVIDER_DSP}}",
"edc:counterPartyId": "{{PROVIDER_ID}}",
"querySpec": {
"@type": "QuerySpecDto",
"offset": 0,
"limit": 100
}
}
while this one (without the edc: works
{
"@context": {
"@vocab": "https://w3id.org/edc/v0.0.1/ns/"
},
"@type": "CatalogRequest",
"protocol": "dataspace-protocol-http",
"counterPartyAddress": "{{PROVIDER_DSP}}",
"counterPartyId": "{{PROVIDER_ID}}",
"querySpec": {
"@type": "QuerySpecDto",
"offset": 0,
"limit": 100
}
}
The correct response should be to tell that edc doesn't correspond to any element in the context. Not a plain http 400
Version: EDC v0.11+, likely the same problem on 0.14.
This message returns HTTP 400 on
/catalog/request{ "@context": { "@vocab": "https://w3id.org/edc/v0.0.1/ns/" }, "@type": "CatalogRequest", "protocol": "dataspace-protocol-http", "edc:counterPartyAddress": "{{PROVIDER_DSP}}", "edc:counterPartyId": "{{PROVIDER_ID}}", "querySpec": { "@type": "QuerySpecDto", "offset": 0, "limit": 100 } }while this one (without the
edc:works{ "@context": { "@vocab": "https://w3id.org/edc/v0.0.1/ns/" }, "@type": "CatalogRequest", "protocol": "dataspace-protocol-http", "counterPartyAddress": "{{PROVIDER_DSP}}", "counterPartyId": "{{PROVIDER_ID}}", "querySpec": { "@type": "QuerySpecDto", "offset": 0, "limit": 100 } }The correct response should be to tell that
edcdoesn't correspond to any element in the context. Not a plain http 400