Changes to check after upgrading

The settings and behaviour each Agent Gateway release changes, what to check on your gateway after upgrading to it, and what to prepare before rolling back.

Some Agent Gateway releases change how stored settings behave. This page lists, for each such release, what to check on your gateway once it runs that release. Work through every release between the one your gateway ran and the one it runs now, not only the latest. To start an upgrade, see Upgrade an Agent Gateway to the latest release. For every change in a release, read its notes on the Agent Gateway releases page.

Changes to check after 1.0.1

The upgrade to 1.0.1 splits each integration into an endpoint, an event set and the integration that joins them. It turns each existing integration into an endpoint and an integration with the same name, and an event set named <name> events (migrated). Review the Integrations page after the upgrade:

  • An integration delivers an event from every gateway, user, and connection point that raises it. An integration that was attached to some gateways or connection points now receives their events from all of them.
  • Integrations of the removed Surface and Identity categories, and integrations that received no events, such as one attached to nothing, keep only their endpoint. Add an event set and an integration to deliver to that endpoint again.
  • Some migrated integrations and endpoints arrive disabled, for example an endpoint whose URL no longer passes the gateway’s checks. Review each disabled one before you turn on Active.
  • Custom variables (those starting with _) and variables that no event of the event set fills are removed from templates. The Slack channel override is removed, and the Slack sender name and icon move to the endpoint.
  • A Governance Audit integration keeps the delivery limits it had. One that relied on the appliance-wide audit selection, rather than its own Events to send, receives limits of 20 attempts and 7 days (604,800 seconds). Clear them under Governance Audit delivery if your destination must receive every record.

See Integrations.

Changes to check after 1.0.2 and 1.0.3

CheckWhat to doRelease
Trust Checks copied to Transit PointsThe upgrade copies each surface-wide Trust Check onto every Transit Point of the surface and flags the copies for review. Open each surface that shows a banner such as 2 Transit Points need Trust Check review, then keep or remove each copy. See Review Trust Checks copied to Transit Points.1.0.2
Transit tokens issued before the upgradeThey are refused once, so a managed agent’s first Transit Point calls after the upgrade get 401 until its next inbound request brings a new token, at most five minutes later. No change is needed.1.0.3

Changes to check after 1.0.4 and 1.0.5

After upgrading to 1.0.4 or 1.0.5, check each item that applies to your gateway. The main checks are below. For the full list of changes, read the Breaking sections of the release notes.

CheckWhat to doRelease
Access Points stored before the upgradeThey become legacy Access Points and keep admitting callers as before: one without a Caller Context admits every caller, and one with a Caller Context passes a caller whose credential is missing or invalid to policy. Add a Caller Context to each surface that should check its callers, or switch on Public access on each surface that should admit any caller. Version 1.0.9 changes how a legacy Access Point with a Caller Context treats those callers, as described in Changes to check after 1.0.9. See Legacy Access Points.1.0.4
Transit Points that authenticate no callerA Transit Point with Require transit token off, no Caller authentication, and Open to any caller off answers every request with 503. Choose a caller authentication method, turn the transit token back on, or open it to any caller. See Who can call this Transit Point.1.0.4
Delegated accountsAsk users to connect their delegated accounts again. Tokens stored before the upgrade stay on Credentials › Credential Tokens until you revoke them. See Managing delegated tokens.1.0.4
Policies that compare user_identity_hashUpdate them, because each caller’s identity hash changed. See How caller identity is stored privately.1.0.4
Rules that name an API key caller’s DIDOn an API Key Provider surface, the stored key keeps its DID, and every other key now gets a DID of its own. On a plain API Key surface, callers get one DID per secret, which is new on surfaces built in the dashboard. Update policies, Trust Check entries, and grants that name an old shared DID for those callers. See Identity from a presented API key.1.0.5
Surfaces that answer 500 “Caller identity requires API key authentication”The surface’s inbound From API Key Identity sits on a Caller Context whose first method is not an API key method. Make every method API Key (secret store) or API Key (provider), or change the Identity type. Version 1.0.6 applies the same rule to every method, as described in Changes to check after 1.0.6. See From API Key.1.0.5
MCP surfaces with Endpoint Type via MCP Proxy and an inbound From API Key IdentityThe surface keeps serving its callers, but with no caller identity, and saving it is refused until you change its inbound Identity type. See From API Key.1.0.5
Surface variants whose Transit Points set different policiesA variant Transit Point that sets a different MCP tool gating, policy or response policy from the base surface’s Transit Point now has every request through it refused with 403. Set these on the base surface’s Transit Point instead. See Transit Points on a variant.1.0.5
Requests to unknown or disabled variantsA request that names an unknown or disabled variant now gets 404, and a surface whose default variant is misconfigured answers 500, instead of falling back to the base surface. Fix the variant aliases your callers use and the surface’s default variant. See Requests that no variant serves.1.0.4
Partner requests to a Target with credential bindingsA request from a connected gateway that a binding applies to needs a caller that the receiving surface verified, and a binding that holds a per-user grant refuses it with 403. See How the gateway decides which hop receives a credential.1.0.4
Managed agents that fetch documents through a Transit Point without a transit tokenOnly a GET or HEAD of the listed discovery documents directly below the Transit Point skips the transit token. Any other path, such as tools/agent.json, now needs one. See Discovery reads.1.0.5
MCP clients that receive elicit consent promptsA tool call whose prompt is declined, cancelled, or not answered in time is now refused with 503 instead of forwarded without the credential. See Elicit (MCP-native).1.0.5
Audit integrations that read variant or status fieldsPolicy change records name the variant in surface_variant, not variant, and record _base_ for the base surface. request_completed records no longer declare variant_alias. request_rejected records written on Fabric receive carry no http_status, so treat that field as optional. Update any integration or log consumer that reads these fields. See Audit log.1.0.4
Metrics dashboards and alerts that filter on variant_aliassurface_variant replaces variant_alias, and requests to the default variant or to a surface with no variants now carry a value. Filter on surface_variant instead. Per-variant series show a step for one metrics retention window after the upgrade. See Metrics.1.0.4
Trust registries marked FAILED before the upgradeA registry that a dropped connection marked FAILED doesn’t recover with Reconnect. Delete it and add it again. See Connection statuses.1.0.4

Changes to check after 1.0.6

After upgrading to 1.0.6, check each item that applies to your gateway. For the full list of changes, read the 1.0.6 Breaking and Security sections of the release notes.

CheckWhat to doRelease
Surfaces whose Caller Context lists more than one methodEvery method now verifies callers, so a caller presenting only a later method’s credential, refused or treated as failed before, is now authenticated by that method. A request carrying credentials for more than one method fails caller authentication. Where a surface’s methods break the new rules, for example two methods reading the same header or two DID Auth methods, the surface keeps only its first method. Select the Caller Context node on each surface and on each of its variants, check the methods under Authentication methods, and keep only the methods your callers should use. See Caller Context.1.0.6
Identities set to From API Key or From JWT ClaimsAn inbound From API Key Identity now needs every Caller Context method to be API Key (secret store) or API Key (provider), and From JWT Claims needs every method to be JWT Bearer. Until you fix a surface that breaks this rule, a caller verified by a method of another type is refused, and saving the surface fails. Remove the other methods, or change the Identity type. See Identity.1.0.6
JWT Bearer credential providers without a SubjectA JWT Bearer provider now needs a Subject. Until you add one, every change to the provider, a signing key rotation included, is refused. Under Credentials › Credential Providers, open each JWT Bearer provider and set Subject: the user the assertion is for, or, for a Google service account without domain-wide delegation, the service account’s own client_email. See Signed JWT settings.1.0.6
Agents that rely on cookies from their callersAccess Points no longer pass the caller’s Cookie header to the managed agent, or the agent’s Set-Cookie header back to the caller. An agent that keeps sessions or session affinity in cookies needs a header instead. See Cookies.1.0.6
Dashboard sign-inDashboard users who don’t have the dashboard open during the upgrade are asked to sign in once. An open dashboard stays signed in. No other action is needed.1.0.6

Changes to check after 1.0.9

Affinidi Portal offered 1.0.9 as the next release after 1.0.6, so this section covers the changes of 1.0.7, 1.0.8, and 1.0.9 together. For the full list, read the Breaking and Security sections of all three in the release notes.

CheckWhat to doRelease
Legacy Access Points with caller authenticationClients with a revoked, expired, or wrong key or token, callers that send no credential, anonymous callers a policy admitted, and Fabric partners whose requests fail the surface’s caller authentication now get 401. Give these callers valid credentials, or switch on Public access to admit them and let policy decide. See Legacy Access Points.1.0.9
Surfaces that took x402 or MPP paymentsFrom version 1.0.9, the gateway no longer verifies x402 or MPP payments locally. A surface whose Payment element took these payments answers every request with 503, and can’t be saved with that element, until you remove the Payment element from the canvas and save the surface.1.0.9
JWT Bearer methods without Accepted AudiencesA method saved before the upgrade without an audience keeps working until you change it. Saving a new or changed method needs at least one Accepted Audiences value. See Caller Context.1.0.9
Surfaces whose Identity names an API keyA surface whose Identity names a revoked or deleted API key shows This surface is refusing requests and answers 503. The keys of surfaces deleted before the upgrade are revoked. A surface whose Identity names another surface’s key keeps serving and shows a warning, but saving a new or changed reference to another surface’s key is refused. Select an active key of the surface itself, which gives the surface a new DID, then update the policies and trust registry records that name the old DID. See Surfaces that name a key in their Identity and Identity.1.0.9
Target Authentication header settingsA Target or Transit Point credential that uses a reserved or duplicate header name, or a Header Format without exactly one {value}, is no longer sent. With the fallback set to Reject request, requests are refused with 502. Version 1.0.10 returns 500 instead, as described in Changes to check after 1.0.10. With the passthrough fallback, Pass through without credentials on a Managed Agent or Passthrough (no credential injected) on a Transit Point, they are forwarded without the credential. Fix the header settings and save the surface. See Managed Agent and Transit Points.1.0.9
Secrets that are in useDeleting a secret that a surface, credential provider, A2A proxy, or STS client uses is refused. Remove its references first. Version 1.0.10 lets you delete it after a warning that names what uses it, as described in Changes to check after 1.0.10. See Secrets.1.0.9
Authorization Code credential providersConsent links now open the gateway’s consent start page, and the person completes consent in the same browser. A new provider’s Callback URL ends in an ID the gateway generates and is shown once the provider is created. Existing providers keep their Callback URL. See Credentials.1.0.9
Kafka integration endpointsSecurity protocol and SASL mechanism replace Authentication. Saving a SASL endpoint without a username or password is refused. See Stream.1.0.9
Agents that use STS tokensAccess tokens and ID-JAGs minted before the upgrade are refused with 401, as are tokens of a deleted STS client. Have each agent exchange for new tokens. See Exchange an agent’s token for scoped downstream access.1.0.9
Authorities used by Trust Checks or Trust Recorder entriesDeleting one opens Authority in use, listing what uses it. A Trust Check whose Authority was deleted before the upgrade fails with AUTHORITY_NOT_FOUND. See Deleting an Authority that is in use.1.0.9
Access tokens with Advanced resource scopingA token scoped only by Required headers can no longer read or revoke delegated tokens or read delegation audit records, and a token with advanced resource scoping can no longer download the gateway logs. Use a token without advanced resource scoping for these tasks. See Access tokens.1.0.9
Consumers of Consent Granted audit recordsNew records store the credential provider’s record ID in provider_id, and older ones keep the Provider ID. Update consumers that match on it. See Credential delegation events.1.0.9
Agents that compress their responsesThe gateway now asks agents for uncompressed agent cards and Fabric replies, and refuses a compressed one with 502. The agent card shows Card compressed. Have the agent, or the proxy in front of it, honour Accept-Encoding: identity. See Managed Agent.1.0.9
Dashboard sign-in and DID Auth sessionsEvery dashboard user signs in again once, including users with the dashboard open during the upgrade, and every DID Auth caller authenticates again. No other action is needed.1.0.9

Changes to check after 1.0.10

If your gateway runs 1.0.6, also work through Changes to check after 1.0.9, because the changes of 1.0.7 to 1.0.9 apply to it as well. For the full list of changes, read the 1.0.10 Breaking, Security, and Removed sections of the release notes.

1.0.10 also adds the Agents page, policy templates in the policy editor, and consent time limits for delegated credentials.

CheckWhat to doRelease
Managed agents that fetch discovery documents through a Transit PointA GET or HEAD of a discovery document, such as /.well-known/agent-card.json, through a Transit Point that requires a transit token now needs a valid X-Transit-Token, or it is refused with 401. The read must also pass the Trust Checks and the gateway, surface, and Transit Point policies, and it still reaches the target without the Target credential. Send the transit token on discovery reads, turn off Require transit token on a Transit Point that must serve them without one, or allow them in policy. An Access Point’s discovery documents stay public. See Discovery reads.1.0.10
Access tokens with scopesA token with scopes is refused with 403 on every route none of its scopes covers. The scopes each route needs are listed below this table. Profile, user settings, terms, and notifications are closed to scoped tokens. Tokens without scopes and dashboard sessions behave as before. Reissue each scoped token with the scopes its automation needs. See Access tokens.1.0.10
Consumers of delegation audit recordsToken Injected, Token Refreshed, Refresh Failed, Consent Required, Token Not Found, and the five MCP elicitation events are written to the gateway log as Delegation event lines, and the VP Audit Log and integrations no longer receive them. The Credential Delegation Audit tab is removed from the Credentials page: read consent records on the Audit page, and per-call delegation events on the Logs page by searching for Delegation event. Records written before the upgrade stay readable. Update SIEM rules and reports that matched these events. See Credential delegation events.1.0.10
Surfaces with a fabric:// Target and an IdentityAn answer whose identity presentation fails verification, or comes from an issuer that isn’t one of the connection’s, is refused with 502 “Managed agent identity verification failed”. Open the remote gateway and, on its Remote tab, check the Issuer DIDs card. When Established issuer DID shows Not established, select Request from peer, or add the answering gateway’s issuer DID under Trusted issuer DIDs for this connection. See Remote tab.1.0.10
Connected gateways on 1.0.9 or earlierUpgrade connected gateways together. A partner gateway on 1.0.9 or earlier whose gateway DID was created before 1.0.9 issues agent credentials that 1.0.10 rejects, so its Fabric calls arrive with no caller identity, and policies and Trust Checks that need one refuse them. Its calls carry an identity again once it runs 1.0.10. Agents and partners that present credentials signed with a key that their DID document doesn’t list for signing credentials or presentations lose their caller identity in the same way. See Trust verification in G2G.1.0.10
Callers and alerts that expect 502 for a Target credential failureWith Reject request as the fallback, a Target or Transit Point credential that can’t be obtained is refused with 500 “Target authentication failed” and the reason target_auth_misconfigured for a configuration problem, or 503 with target_auth_unavailable when the credential can’t be obtained for now. A path that would leave the Target’s base path gets 400 with target_path_refused. A 502 remains for a Transit Point request whose target address the gateway’s outbound checks block. Update alerts and client retry rules that match 502. See Target Authentication and Refusals.1.0.10
Transit Point policies that set a deny_reasonWhen a Transit Point’s own policy denies a request, the 403 detail now ends with the policy’s deny_reason, for example “Request blocked by surface policy: Calling agent is not recognised”, so the managed agent sees it. Review the deny_reason of each Transit Point policy and keep request data out of it. See Refusals.1.0.10
Users who manage credential providers or delegated accessThe Credentials page now checks the credential provider permissions for providers and the delegated access permissions for the Credential Tokens and Delegated Access tabs. The Administrator role holds both, so default roles need no change. See Administrator.1.0.10
Access tokens with Advanced resource scopingA token with Advanced resource scoping gets dashboard statistics without log lines, even with logs.view. A tenant’s token also no longer reads per-call delegation events, because they are in the gateway log. Use a dashboard session, or a token with Advanced resource scoping left empty, to read log lines. See Advanced resource scoping.1.0.10
Surfaces with traffic mirroringA mirror endpoint must be http or https, carry no user name or password, and name no cloud metadata address. Private and loopback addresses stay allowed. Mirror timeout (seconds) runs from 1 to 30, and a larger stored value runs as 30. The mirror no longer follows redirects, and it receives only the caller headers the Target receives, never the Target credential. A surface stored with a mirror endpoint that breaks these rules still loads, but its next save is refused until you fix the endpoint. See Traffic Mirroring.1.0.10
Secrets that are in useDeleting a secret that a surface, credential provider, A2A proxy, or STS client uses opens a warning that names them, including “and N more you cannot view”, and offers Delete secret anyway. Deleting it anyway leaves them without the secret, and they stop working until you pick another one. A secret that an integration endpoint uses still can’t be deleted. See Delete a secret.1.0.10
Partner gateways that check your Target credentialWith both gateways on 1.0.10, a Target credential that the partner gateway refuses, such as a wrong secret in the header it reads, now gives your caller 500 with the reason target_auth_rejected instead of the partner’s 401. A wrong header name still gives 401. On the Audit page, its record reads Target refused the credential. See Authenticate requests between two gateways.1.0.10
MCP proxies with the Path Prefix agent-registryagent-registry is now a dashboard page, so the gateway no longer serves an MCP proxy whose Path Prefix is agent-registry. Change that proxy’s Path Prefix to another value.1.0.10

From version 1.0.10, a scoped access token needs these scopes for these routes, among others:

  • Dashboard statistics: dashboard.view.
  • Reading settings: settings.view.
  • Changing settings: settings.edit.
  • Backup, restore, and storage export: storage.admin.
  • Managing users: users.view, users.edit, or users.delete.
  • OpenTelemetry export status: metrics.view.
  • Policy validation in the policy editor: surfaces.edit.
  • Predefined Trust Check queries: surfaces.view.
  • Trust registry DID documents: trust_registries.view.

Before rolling back to an earlier release

To go back to an earlier release, contact Affinidi support with the backup you took before the upgrade. A release earlier than the one you upgraded to doesn’t load some surfaces stored after the upgrade:

  • When you roll back from 1.0.4 or later to an earlier release, it skips surfaces created after the upgrade, surfaces whose Access Point was closed or opened to the public after the upgrade, and surfaces with a Transit Point that uses Caller authentication.
  • When you roll back from 1.0.5 or later to an earlier release, 1.0.4 included, it skips surfaces saved on 1.0.5 with an inbound From API Key Identity.

Those surfaces answer 404 on the earlier release and disappear from the dashboard until the gateway runs the newer release again.

Before you roll back from 1.0.6 to an earlier release, remove every Caller Context method but the first on each surface and each of its variants. An earlier release verifies only the first method and passes a later method’s credential, such as a partner’s API key, on to the managed agent. Dashboard users also sign in once again after the rollback.

After a rollback from 1.0.9 to 1.0.6:

  • Legacy Access Points hand callers with a missing or invalid credential to policy again, as they did before 1.0.9.
  • API keys that 1.0.9 revoked stay revoked, including the keys of deleted surfaces.
  • Every dashboard user signs in again, because 1.0.6 can’t read the sessions 1.0.9 stores.

Before you roll back from 1.0.10 to 1.0.9, check the Trust Checks of every surface:

  • A 1.0.9 gateway skips any surface with a Trust Check query that lists more than one Authority, so change each such query to one Authority first. See Trust Check.
  • 1.0.9 still runs a Trust Check list of more than 10 queries, but refuses to save the surface until the list is down to 10.

Symptoms after an upgrade

SymptomLikely causeFix
A managed agent’s Transit Point calls fail with 401 and Transit token missing or invalid right after the upgrade to 1.0.3 or later.Transit tokens issued before the upgrade are refused once.Wait for the managed agent’s next inbound request, which brings a new token, at most five minutes later.
A surface answers every request with 503 and “This Access Point is not available.” after the upgrade to 1.0.4 or later.The surface was created after the upgrade with no caller authentication, or it was closed on an earlier release without a Caller Context.Add a Caller Context to the surface and save. See Changes to check after 1.0.4 and 1.0.5.
A Transit Point answers every request with 503 after the upgrade to 1.0.4 or later.It neither requires a transit token nor authenticates its callers, and isn’t open to any caller.Set who can call it. See Who can call this Transit Point.
A surface answers 500 with “Caller identity requires API key authentication” after the upgrade to 1.0.5 or later.Its inbound From API Key Identity sits on a Caller Context with a method that is not an API key method: on 1.0.5 the first method, and from 1.0.6 any method that verified the caller.Make every method API Key (secret store) or API Key (provider), or change the Identity type.
Saving a surface fails with “Identity ‘From API Key’ needs every Caller Context method to be API Key or API Key Provider”, or with “From JWT Claims requires a Caller Context whose methods are all JWT Bearer.”, after the upgrade to 1.0.6.The surface’s Identity needs every Caller Context method to match its type.Remove the other methods in the Caller Context editor, or change the Identity type. See Changes to check after 1.0.6.
A JWT Bearer credential provider won’t save after the upgrade to 1.0.6, and its Subject field is marked as required.From version 1.0.6, a JWT Bearer provider needs a Subject, and the provider has none.Set Subject and save again. For a Google service account without domain-wide delegation, use the service account’s client_email.
Callers that send a JWT and an API key together are refused after the upgrade to 1.0.6: 401 on an Access Point with Public access off, or a policy denial.The surface’s Caller Context has a method for each credential, and a request carrying credentials for more than one method fails caller authentication.Have each caller send only the credential for its own method.
The dashboard asks you to sign in again after the upgrade to 1.0.6.1.0.6 changes how the dashboard keeps you signed in.Sign in as usual. This happens once.
A surface shows a banner such as 2 Transit Points need Trust Check review.The upgrade to 1.0.2 or later copied a surface-wide Trust Check onto each Transit Point.Review each copied Trust Check and keep or remove it.
Callers of a surface created before 1.0.4 get 401 “Caller credential missing or invalid” after the upgrade to 1.0.9.The legacy Access Point has a Caller Context, and the caller’s credential is missing or invalid.Give the caller a valid credential, or switch on Public access on the Access Point. See Changes to check after 1.0.9.
A surface page shows This surface is refusing requests after the upgrade to 1.0.9.Its Identity names a revoked or deleted API key.Select an active API key of the surface in the Identity, adding one first if it has none, and save. Update policies and trust registry records that name the surface’s old DID. See Surfaces that name a key in their Identity.
Agents that call a JWT Bearer surface with an STS token get 401 after the upgrade to 1.0.9.Their tokens were minted before the upgrade.Have each agent exchange for a new token. See Exchange an agent’s token for scoped downstream access.
Deleting an Authority opens Authority in use.Trust Checks or Trust Recorder entries still use it.Point each listed entry at another Authority or remove it, then delete the Authority again.
An agent card shows Card compressed, or callers get 502 “Upstream response is compressed”.The agent compressed its answer although the gateway asked for an uncompressed one.Have the agent, or the proxy in front of it, honour Accept-Encoding: identity.
A managed agent’s discovery read through a Transit Point, such as a fetch of the target’s agent card, gets 401 “Transit token missing or invalid” after the upgrade to 1.0.10.From version 1.0.10, a Transit Point that requires a transit token also requires it on discovery reads.Send the transit token on discovery reads, turn off Require transit token on that Transit Point, or allow the reads in policy. See Discovery reads.
Automation that uses a scoped access token gets 403 after the upgrade to 1.0.10.None of the token’s scopes covers the route it calls.Reissue the token with the scope the route needs, such as dashboard.view for dashboard statistics or settings.view to read settings. See Changes to check after 1.0.10.
Callers of a surface with a fabric:// Target get 502 “Managed agent identity verification failed” after the upgrade to 1.0.10, or the same message followed by “: issuer is not trusted on this connection”.The answer’s identity presentation failed verification, or came from an issuer that this connection doesn’t trust or hasn’t established.On the remote gateway’s Remote tab, check the Issuer DIDs card. Select Request from peer when the issuer DID is Not established, or add the answering gateway’s issuer DID under Trusted issuer DIDs for this connection. See Remote tab.
Callers get 500 “Target authentication failed” or 503 where they used to get 502 after the upgrade to 1.0.10.From version 1.0.10, a Target credential that can’t be obtained is refused with 500 or 503 and a reason.Fix the Target Authentication settings for target_auth_misconfigured, or check the token endpoint and secret store for target_auth_unavailable. See Target Authentication.