Skip to content

Escape hatch for 401 errors from Edge API #281

Description

@sirugh

The application makes requests against the Edge API using the configured auth token, for a given deployment.
For any reason, this token may be incorrect/invalid, but it seems like the code will continue retrying/re-polling regardless.

We should investigate where 401s can occur, and encode an escape hatch, that kills or halts polling in the event of a 401 response. These are wasted API calls, and incur operational costs which could otherwise be avoided.

Screenshot of 89k 401s across all deployments of AEMCP within the last week:
Image
Image

https://magento.slack.com/archives/C080XP30Q59/p1789663113102659

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions