Troubleshooting AgentCore payments
This section provides solutions to common errors when using AWS Amazon Bedrock AgentCore payments.
Validation errors
When creating or updating payment resources, the service returns a ValidationException. The following table lists common validation errors and their resolutions.
| Error message | Resolution |
|---|---|
|
|
The |
|
|
The account ID in |
|
|
The |
|
|
Provide at least one credential provider configuration when creating or updating a payment connector. |
|
|
Each credential provider configuration must include a |
|
|
The credential provider configuration variant must match the connector type. For example, a |
Field naming constraints are also enforced:
-
Payment manager names must start with a letter and contain only alphanumeric characters (max 48 characters).
-
Payment connector names follow the same rules but also allow underscores.
-
Descriptions allow alphanumeric characters and spaces (max 4096 characters).
Permission errors
| Error message | Resolution |
|---|---|
|
|
Your account has been restricted. Contact AWS Support to resolve. |
|
|
Your account is in a limited access state. Read and list operations are allowed, but create and update operations are restricted until the restriction is resolved. |
|
IAM SigV4 authorization failures |
Ensure the calling principal has the appropriate |
|
PassRole failures |
When providing a |
Resource not found errors
| Error message | Resolution |
|---|---|
|
|
The specified payment manager does not exist. Verify the ID by calling |
|
|
The specified connector does not exist under the given manager. Verify both IDs using |
|
Resource not found during |
The parent payment manager does not exist. Create the payment manager first. |
Conflict errors
The service returns a ConflictException when two requests modify the same resource at the same time, or when creating a resource that already exists. Retry the request. Create and update operations support a clientToken for safe retries.
Service quota errors
The service returns "{limitType} limit exceeded for account {accountId}" when you reach the maximum number of payment managers or connectors for your account. Delete unused resources or contact AWS Support to request a limit increase.
Throttling errors
The service returns "Rate exceeded" when the request rate exceeds the allowed limit. Implement exponential backoff with jitter in your retry logic. If you consistently hit limits, contact AWS Support.
Payment processing errors
If an external payment provider rejects the signing request, the service returns an AccessDeniedException or ValidationException. The following table lists common errors and their resolutions.
| Error message | Resolution |
|---|---|
|
|
You haven’t granted the delegation permission that allows your agent to sign transactions on your behalf, or you previously revoked it. To resolve:
For more information about a frontend implementation that handles the delegation grant flow, see the Coinbase AgentCore template |
|
|
Your Coinbase Developer Platform project does not have delegated signing configured. To resolve:
You must complete this step before your agent can sign transactions on behalf of users. |
|
|
Your credential provider has invalid or expired Privy wallet authorization keys. To resolve:
For more information about credential configuration, see the Privy AgentCore SDK |
Server errors
The service returns "Something went wrong in processing your request" for internal errors. Retry the request after a brief delay. If the error persists, contact AWS Support with the request ID from the x-amzn-requestid response header.