Error: Duplicate POST Method Declared for Route

What is the root cause of this error? It's the first time I see it and I'm not sure if it is an effect specific thing or not:

[12:48:03.635] DEBUG (#238): Fiber terminated with an unhandled error
@searchattention/dashboard-new:dev:   Error: Method 'POST' already declared for route '/api/images/upload'
@searchattention/dashboard-new:dev:       at RouterImpl._on (file:///Users/danielo/GIT/jan/writeattention/node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/src/internal/router.ts:218:15)
@searchattention/dashboard-new:dev:       at RouterImpl.on (file:///Users/danielo/GIT/jan/writeattention/node_modules/.pnpm/find-my-way-ts@0.1.6/node_modules/find-my-way-ts/src/internal/router.ts:71:12)
@searchattention/dashboard-new:dev:       at forEach (file:///Users/danielo/GIT/jan/writeattention/node_modules/.pnpm/@effect+platform@0.92.1_effect@3.18.4/node_modules/@effect/platform/src/internal/httpRouter.ts:236:16)
@searchattention/dashboard-new:dev:       at Array.forEach (<anonymous>)
@searchattention/dashboard-new:dev:       at body (file:///Users/danielo/GIT/jan/writeattention/node_modules/.pnpm/effect@3.18.4/node_modules/effect/src/Chunk.ts:1109:83)
@searchattention/dashboard-new:dev:       at Module.forEach (file:///Users/danielo/GIT/jan/writeattention/node_modules/.pnpm/effect@3.18.4/node_modules/effect/src/Function.ts:245:18)
Was this page helpful?