Creation of secondary request return 500 if defauld SP not found on the environment

Description

2025-04-03T08:32:42.711+0000 [] [] [] [] ERROR DirectJDKLog         Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: feign.FeignException$InternalServerError: [500 Internal Server Error] during [POST] to [http://requests-mediated/mediated-requests/d8559b77-cb79-44d0-943b-bc66678ae930/confirm] [RequestMediatedClient#confirmRequestMediated(String,MediatedRequest)]: [{"errors":[{"message":"[500 Internal Server Error] during [POST] to [http://tlr/ecs-tlr] [EcsTlrClient#post(EcsTlr)]: [{\"timestamp\":\"2025-04-03T08:32:42.703+00:00\",\"status\":500,\"error\":\"Internal Server Error\",\"path\":\"/tlr/ecs-tlr\"}]","type":"InternalServerError"}],"total_records":1}]] with root cause
feign.FeignException$InternalServerError: [500 Internal Server Error] during [POST] to [http://requests-mediated/mediated-requests/d8559b77-cb79-44d0-943b-bc66678ae930/confirm] [RequestMediatedClient#confirmRequestMediated(String,MediatedRequest)]: [{"errors":[{"message":"[500 Internal Server Error] during [POST] to [http://tlr/ecs-tlr] [EcsTlrClient#post(EcsTlr)]: [{\"timestamp\":\"2025-04-03T08:32:42.703+00:00\",\"status\":500,\"error\":\"Internal Server Error\",\"path\":\"/tlr/ecs-tlr\"}]","type":"InternalServerError"}],"total_records":1}]

 

@logStream  
relc/mod-tlr/ed8c713b65f54d6b97b4e05c65275283
@message  
2025-04-03T08:55:18.105+0000 [] [] [] [] ERROR DirectJDKLog         Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: feign.FeignException$NotFound: [404 Not Found] during [GET] to [http://service-points/32c6f0c7-26e4-4350-8c29-1e11c2e3efc4] [ServicePointClient#getServicePoint(String)]: [Not found]] with root cause
feign.FeignException$NotFound: [404 Not Found] during [GET] to [http://service-points/32c6f0c7-26e4-4350-8c29-1e11c2e3efc4] [ServicePointClient#getServicePoint(String)]: [Not found]

 

Mod request mediated return 500. Ideally it should return 404 Service point not found

image-20250403-115431.png

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

1
  • 03 Apr 2025, 11:54 AM

Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Development Team

Vega

RCA Group

TBD

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created last week
Updated 2 days ago
TestRail: Cases
TestRail: Runs

Flag notifications