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

Duplicate middleware name 'NewRelicHeader' #1236

Open
Maxwell2022 opened this issue Apr 9, 2024 · 0 comments
Open

Duplicate middleware name 'NewRelicHeader' #1236

Maxwell2022 opened this issue Apr 9, 2024 · 0 comments

Comments

@Maxwell2022
Copy link

I'm getting this error when starting our service. I looked at this closed issue but we are using version 11 of the agent so I don't think this is related.

{
      "type": "Error",
      "message": "Duplicate middleware name 'NewRelicHeader'",
      "stack":
          Error: Duplicate middleware name 'NewRelicHeader'
              at Object.add (/app/node_modules/.pnpm/@smithy+middleware-stack@2.1.1/node_modules/@smithy/middleware-stack/dist-cjs/index.js:178:19)
              at _DynamoDBDocumentClient.wrappedSend (/app/node_modules/.pnpm/@newrelic+aws-sdk@7.1.0/node_modules/@newrelic/aws-sdk/lib/v3/smithy-client.js:58:32)
              at ****Repository.put***** (/app/dist/src/modules/*****/*****.repository.js:116:28)
              at ****Repository.create***** (/app/dist/src/modules/*****/*****.repository.js:40:20)
              at ****Service.create***** (/app/dist/src/modules/*****/*****.service.js:26:61)
              at ****Resolver.complete***** (/app/dist/src/modules/*****/resolvers/complete*****.resolver.js:39:39)
              at /app/node_modules/.pnpm/@nestjs+core@9.3.12_@nestjs+common@9.3.12_@nestjs+platform-express@9.3.12_reflect-metadata@0.1.13_rxjs@7.8.1/node_modules/@nestjs/core/helpers/external-context-creator.js:67:33
              at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    }
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

1 participant