• /
  • EnglishEspañolFrançais日本語한국어Português
  • Log inStart now

Troubleshoot the AWS DevOps Agent connection

|View as Markdown

Note

We're still working on this feature, but we'd love for you to try it out!

This feature is currently provided as part of a preview program pursuant to our pre-release policies.

Use this page to diagnose errors when you connect Autopilot to the AWS DevOps Agent and to understand bearer token expiry.

Errors during setup

If a setup step fails, New Relic shows one of these errors:

Error

Message in New Relic

Resolution

401 Unauthorized

Token is invalid, expired, or revoked

Issue a new bearer token at the Operator scope from IAM Identity Center, Amazon Cognito, or your IAM service account, and then try again.

403 Forbidden

Missing IAM permissions

Check that you added all four required permissions to the IAM policy attached to the credential.

404 Not Found

No agent spaces found

Verify that the AWS DevOps Agent is enabled and that the credential has access to at least one agent space.

429 Rate Limited

Rate limit hit during discovery

Wait 30 seconds, then try again.

Token expiry

Bearer tokens expire after up to 60 days. These are the points where you see the expiry:

When

Where it appears

Action

At expiry, during an investigation

A message in the active investigation thread: "AWS investigation paused — bearer token expired. Update token in Integrations to resume."

Update the bearer token, and then start the investigation again.

At investigation start, if the token has already expired

A "Token expired" status on the connection in the Integrations panel. New Relic also disables routing to the AWS DevOps Agent.

Update the bearer token

An investigation paused by an expired token doesn't resume automatically, so start it again. The AWS DevOps Agent treats an updated token as a new identity, so the AWS side loses any in-progress investigation tied to the previous token.

Connect Autopilot to the AWS DevOps Agent

Copyright © 2026 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.