Skip to content
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

POST /quotes for unknown destination fsp ID error response is 3100 instead of 3203 #1178

Closed
1 task done
amarmodus opened this issue Jan 22, 2020 · 2 comments
Closed
1 task done
Assignees
Milestone

Comments

@amarmodus
Copy link

amarmodus commented Jan 22, 2020

Summary:
POST /quotes for unknown destination fsp ID error response is 3100 instead of 3203

image

Pull Requests

Severity:
Low

Priority:
Low

Expected Behavior
202 response with error callback of 3203.

Steps to Reproduce

curl --location --request POST 'http://dev1-quoting-service.mojaloop.live/quotes' \
--header 'Accept: application/vnd.interoperability.quotes+json;version=1' \
--header 'Content-Type: application/vnd.interoperability.quotes+json;version=1.0' \
--header 'Date: Wed, 22 Jan 2020 13:01:35 GMT' \
--header 'FSPIOP-Source: payerfsp' \
--header 'FSPIOP-Destination: payeefsp' \
--data-raw '{
  "quoteId": "6e8b764a-018b-4a77-bab5-811552fffddd",
  "transactionId": "6e8b764a-018b-4a77-bab5-811552fffddd",
  "payee": {
    "partyIdInfo": {
      "partyIdType": "MSISDN",
      "partyIdentifier": "27713803913",
      "fspId": "blah"
    }
  },
  "payer": {
    "partyIdInfo": {
      "partyIdType": "MSISDN",
      "partyIdentifier": "27713803905",
      "fspId": "payerfsp"
    },
    "personalInfo": {
      "complexName": {
        "firstName": "Mats",
        "lastName": "Hagman"
      },
      "dateOfBirth": "1983-10-25"
    }
  },
  "amountType": "SEND",
  "amount": {
    "amount": "15",
    "currency": "XOF"
  },
  "transactionType": {
    "scenario": "TRANSFER",
    "initiator": "PAYER",
    "initiatorType": "CONSUMER"
  },
  "note": "hej"
}'

Specifications

Component (if known): central-services
Version:v8.7.0
Platform: AWS
Subsystem:quoting service
Type of testing: functional
Bug found/raised by:@amarmodus

Notes:

  • Severity when opened:
  • Priority when opened:
@amarmodus amarmodus added the bug label Jan 22, 2020
@elnyry-sam-k elnyry-sam-k added this to the Sprint 9.3 milestone Mar 2, 2020
@oderayi oderayi self-assigned this Mar 3, 2020
@amarmodus
Copy link
Author

3201 is valid for this condition and verified with quoting-services : "version": "9.3.3-snapshot"

Screenshot 2020-03-05 13 29 14

@amarmodus amarmodus self-assigned this Mar 5, 2020
@amarmodus
Copy link
Author

After discussion it was decided this is expected behaviour and hence no error code is thrown by the Switch,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants