amlcloud / screensite

4 stars 6 forks source link

BUG: Encountered a 404 error when trying to access the GetSanctionListEntities API endpoint using the URL "https://us-central1-screener-9631e.cloudfunctions.net/GetSanctionListEntities?list=dfat.gov.au". This endpoint is expected to provide the sanction list entities, but it is returning a 404 status code instead. #201

Open mounikavemunoori opened 1 year ago

mounikavemunoori commented 1 year ago

Bug Description: I encountered a 404 error when trying to access the GetSanctionListEntities API endpoint using the URL "https://us-central1-screener-9631e.cloudfunctions.net/GetSanctionListEntities?list=dfat.gov.au". This endpoint is expected to provide the sanction list entities, but it is returning a 404 status code instead.

Test Steps to Reproduce:

  1. Open a web browser and navigate to the URL "https://us-central1-screener-9631e.cloudfunctions.net/GetSanctionListEntities?list=dfat.gov.au".
  2. Verify that the page does not load and a 404 error message is displayed.

Observation:- End point should be GetSanctionsListEntities in URL instead of GetSanctionListEntities URL- "https://us-central1-screener-9631e.cloudfunctions.net/GetSanctionListEntities?list=dfat.gov.au".

Expected Behavior: When accessing the API endpoint, the page should load successfully, and the API response should include the sanction list entities.

Actual Behavior: The page returns a 404 status code, indicating that the resource was not found.

mounikavemunoori commented 1 year ago

Image

kovarny commented 1 year ago

Instead of GetSanctionList it should say 'GetSanctionsList' in the function call.