A2A API Key credential behavior
Starting in Now Assist AI Agents 7.1.x, the header included in each A2A request is driven by the API Key credential record and it is not injected automatically by the flow action.
Starting in Now Assist AI Agents 7.1.x, A2A flow actions no longer inject an Authorization: Bearer header automatically. The header included in each request is now driven entirely by the API Key credential record
bound to the external agent's Connection & Credential Alias.
OAuth-based external agents, and API Key endpoints whose existing credential record already aligns with the endpoint's expectations, are unaffected. You only need to act if your remote A2A endpoint requires a specific header name or a scheme prefix.
Resolve 401 or 403 errors after upgrade
- Open the
api_key_credentialsrecord bound to your A2A external agent. Navigate to the record via the Connection & Credential Alias on the external-agent provider. - If the endpoint requires a specific header name (for example,
x-api-keyinstead ofAuthorization), set the API Key Header (api_key_header_name) field to the header name the endpoint expects. - If the endpoint requires a scheme prefix on the value (for example,
Bearerfor Google A2A), include the prefix directly in the API Key (api_key) field value — for example, changeAIza...toBearer AIza....Note:The API Key Prefix field is not currently applied by the A2A flow action; embed the scheme in the API Key value instead. -
Save the record and re-test the external agent end-to-end.
Wizard-created credential records
The wizard creates a working API Key credential record for most A2A endpoints. Only edit the credential record manually if your remote endpoint has specific requirements that the default credential does not satisfy.
- Custom header name (for example,
x-api-key): Set the API Key Header (api_key_header_name) field to the header name the endpoint expects. - Scheme prefix on the value (for example,
Bearerfor Google A2A): Include the prefix directly in the API Key field value — for example,Bearer <your-key>. Don't use the API Key Prefix field; it is not applied by the A2A flow action.