Fix "Duplicate key x-okapi-request-id" error

Description

mod-circulation throws the following error when called in Eureka-based environments:


2025-03-09T07:42:31.147755112Z 07:42:31 [] [] [] [] ERROR DirectJDKLog Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: feign.FeignException$InternalServerError: [500 Internal Server Error] during [GET] to [http://circulation/requests/allowed-service-points?itemId=16440b96-e142-4cf5-87fc-7c94c14f9234&requesterId=0dcf736e-13c9-4fcf-a4a7-f8f5f94f7e96&operation=create] [CirculationClient#allowedServicePoints(AllowedServicePointParams)]: [Duplicate key x-okapi-request-id (attempted merging values 451006/circulation-bff;400496/circulation and 451006/circulation-bff;131813/circulation)]] with root cause
feign.FeignException$InternalServerError: [500 Internal Server Error] during [GET] to [http://circulation/requests/allowed-service-points?itemId=16440b96-e142-4cf5-87fc-7c94c14f9234&requesterId=0dcf736e-13c9-4fcf-a4a7-f8f5f94f7e96&operation=create] [CirculationClient#allowedServicePoints(AllowedServicePointParams)]: [Duplicate key x-okapi-request-id (attempted merging values 451006/circulation-bff;400496/circulation and 451006/circulation-bff;131813/circulation)]

Environment

ECS Eureka Snapshot initially impacted. Decided to also release fix to ECS Eureka BF.

Potential Workaround

None

Checklist

hide

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Ramsons (R2 2024) Service Patch #1

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created March 10, 2025 at 12:48 PM
Updated March 12, 2025 at 6:33 PM
Resolved March 10, 2025 at 3:37 PM
TestRail: Cases
TestRail: Runs