project icon indicating copy to clipboard operation
project copied to clipboard

GET Requests to /parties/{Type}/{ID} endpoint with an invalid FSPIOP-Source header value are sent successfully

Open theobadha opened this issue 7 months ago • 0 comments

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

theobadha avatar Apr 30 '25 14:04 theobadha