Skip to main content
This page lists error codes returned by CDP Paymaster and Bundler. Use this as a quick reference when debugging failed userOperations.
For step-by-step debugging workflows, see the Troubleshooting guide.

Paymaster Errors

These errors are returned by the CDP Paymaster service.
ErrorCodeDescriptionHow to Fix
INTERNAL_ERROR-32000Internal service errorRetry the request. If it persists, contact support.
UNAUTHORIZED_ERROR-32001Invalid API key or endpointVerify your Paymaster URL is correct and the API key is active.
DENIED_ERROR-32001Request denied by gas policyCheck your allowlist and spend limits in CDP Portal.
UNAVAILABLE_ERROR-32003Service temporarily unavailableRetry after a short delay. If it persists, contact support.
GAS_ESTIMATION_ERROR-32004Gas estimation failedUsually insufficient gas or invalid paymaster signature. See Troubleshooting.
METHOD_NOT_FOUND-32601Unknown JSON-RPC methodVerify Paymaster is enabled and you’re calling a supported method.
INVALID_ARGUMENT-32602Invalid userOperation parametersCheck that all required fields are present and correctly formatted.
PARSE_ERROR-32700Malformed request bodyVerify your JSON is valid and the request body is properly structured.

Policy Rejection Messages

These messages indicate your userOperation was rejected by your configured gas policy.
MessageCauseSolution
rejected due to max per user op spend limit exceededSingle operation costs too muchIncrease Per UserOperation limit in Configuration
rejected due to max monthly org spend limitMonthly budget exhaustedApply for more credits or wait for reset
rejected due to max global usd spend limit reachedTotal spend limit hitAdjust your global limit in Configuration
rejected due to maximum per address transaction count reachedToo many transactions from this senderIncrease per-address transaction limit
rejected due to maximum per address sponsorship reachedSender hit USD sponsorship capIncrease per-address sponsorship limit
attestation not found for addressSender lacks required attestationEnsure sender has the required onchain attestation
target address not in allowed contractsContract not allowlistedAdd the contract address to your allowlist
method not in allowed methodsFunction not allowlistedAdd the specific function to your contract’s allowlist

Bundler Errors

These errors are returned by the Bundler when processing userOperations.
ErrorCodeDescription
REJECTED_BY_EP_OR_ACCOUNT-32500Rejected by EntryPoint or smart account
REJECTED_BY_PAYMASTER-32501Paymaster refused to sponsor
BANNED_OPCODE-32502UserOperation contains a banned opcode
SHORT_DEADLINE-32503Transaction deadline too short
BANNED_OR_THROTTLED_ENTITY-32504Sender or paymaster is throttled
INVALID_ENTITY_STAKE-32505Invalid staking for entity
INVALID_AGGREGATOR-32506Invalid signature aggregator
INVALID_SIGNATURE-32507Signature verification failed
EXECUTION_REVERTED-32521Onchain execution reverted
INVALID_FIELDS-32602UserOperation has invalid fields

EntryPoint Errors

These AA prefixed errors come from the ERC-4337 EntryPoint contract.
ErrorDescriptionSolution
AA10 sender already constructedAccount exists but initCode providedRemove initCode from your userOperation
AA13 initCode failed or OOGAccount creation failed or ran out of gasIncrease verificationGasLimit
AA14 initCode must return senderFactory didn’t return sender addressCheck your factory contract implementation
AA15 initCode must create senderFactory didn’t deploy the accountVerify factory contract and initCode
AA20 Account not deployedAccount doesn’t exist and no initCodeInclude initCode for first transaction
AA21 didn't pay prefundAccount can’t cover gas prefundEnsure Paymaster is configured or account has ETH
AA23 reverted (or OOG)Validation reverted or out of gasCheck signature validity and gas limits
AA24 Signature errorInvalid userOperation signatureVerify hash, entrypoint address, and chain ID
AA25 Invalid account nonceNonce mismatchUse current nonce; don’t reuse old ones
AA40 Over verification gas limitVerification exceeded gas limitIncrease verificationGasLimit
AA41 Too little verification gasVerification ran out of gasIncrease verificationGasLimit
AA50 PostOp revertedPost-operation hook failedDebug paymaster postOp logic
AA51 prefund below actualGasCostApproved gas less than actual costIncrease gas limits or prefund amount

Request Logs

Download detailed logs for debugging from the Logs tab in CDP Portal. Click Download CSV to export.
ColumnDescription
OrganizationIdYour CDP Organization ID
ProjectIdYour CDP Project ID
Networkbase or base-sepolia
Statuscompleted, in progress, or failed
UserOpHashHash of the userOperation
SenderSmart account address
PaymasterPaymaster contract that sponsored the operation
TransactionHashOnchain transaction hash (if included)
GasCostGas price in Gwei
GasUsedTotal gas consumed
MethodJSON-RPC method called
ErrorCodeError code (for failed requests)
ErrorMessageError details (for failed requests)

Need Help?

If you’re still stuck after checking these errors:
  1. Export your logs from CDP Portal for detailed request data
  2. Check Troubleshooting for debugging workflows
  3. Ask in Discord — Post in the #paymaster channel in CDP Discord with your error details