GET Requests to /parties/{Type}/{ID} endpoint with an invalid FSPIOP-Source header value are sent successfully
Summary: GET Requests to /parties/{Type}/{ID} endpoint with an invalid FSPIOP-Source header value are sent successfully
Severity: Low
Priority: Low
Expected Behavior
GET Requests to /parties/{Type}/{ID} endpoint with an invalid FSPIOP-Source header value should fail with the correct error code (3101) and message "Malformed syntax - invalid fspiop-source header"
curl
'http://moja-account-lookup-service/parties/MSISDN/27713803912' -H 'content-type: application/vnd.interoperability.parties+json;version=2.0' -H 'date: Wed, 30 Apr 2025 14:35:32 GMT' -H 'accept: application/vnd.interoperability.parties+json;version=2.0' -H 'fspiop-source: invalidFSPIOPText' -H 'traceparent: 00-aabb94ea784a420b14ed15a3bda566fa-0000000000000002-01' -H 'user-agent: axios/1.8.4' -H 'accept-encoding: gzip, compress, deflate, br' --compressed
Specifications
-
Version: test-cases version 17
-
Bug found/raised by: Walter