Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Errors

CodeNameMessage
100notSignerAccount must be a signer
101invalidAddressInvalid account address
102invalidEscrowPdaInvalid escrow PDA derivation
103invalidSubscriptionAuthorityPdaInvalid subscription-authority PDA derivation
104notSystemProgramExpected system program
105invalidTokenProgramToken Program does not match other accounts
106invalidToken2022MintAccountDataInvalid Token-2022 mint account data
107invalidToken2022TokenAccountDataInvalid Token-2022 token account data
108invalidAssociatedTokenAccountDerivedAddressInvalid associated token account address
109invalidTokenSplMintAccountDataInvalid SPL Token mint account data
110invalidTokenSplTokenAccountDataInvalid SPL Token account data
111invalidAccountDataInvalid account data
112invalidInstructionDataInvalid instruction data
113notEnoughAccountKeysNot enough account keys provided
114invalidInstructionInvalid instruction
115arithmeticOverflowArithmetic Overflow
116arithmeticUnderflowArithmetic Underflow
117invalidAccountDiscriminatorInvalid account discriminator
118mintHasConfidentialTransferMint has ConfidentialTransfer extension
119mintHasNonTransferableMint has NonTransferable extension
120mintHasPermanentDelegateMint has PermanentDelegate extension
121mintHasTransferHookMint has TransferHook extension
122mintHasTransferFeeMint has TransferFee extension
123mintHasMintCloseAuthorityMint has MintCloseAuthority extension
124mintHasPausableMint has Pausable extension
125mintMismatchToken mint mismatch
126invalidDelegatePdaInvalid delegation PDA derivation
127invalidHeaderDataInvalid header data
128delegationExpiredDelegation has expired
129invalidAmountInvalid amount specified
130unauthorizedCaller not authorized for this action
131accountNotWritableAccount must be writable
132ataOwnerMismatchToken account owner does not match expected
133delegationVersionMismatchDelegation header version is not compatible
134migrationRequiredAccount requires explicit migration
135delegationAlreadyExistsDelegation account already exists
136staleSubscriptionAuthorityDelegation init_id does not match current SubscriptionAuthority
137transferHookTooManyAccountsToo many transfer hook accounts provided
300amountExceedsLimitTransfer amount exceeds delegation limit
301fixedDelegationExpiryInPastExpiry time specified is less than current time
302fixedDelegationAmountZerozero amount specified
400amountExceedsPeriodLimitTransfer amount exceeds period limit
401periodNotElapsedPeriod has not elapsed yet
402invalidPeriodLengthInvalid Period length
403invalidPayerDataPayer provided does not match delegation
404recurringDelegationStartTimeInPastPast start time specified
405recurringDelegationStartTimeGreaterThanExpirystart time specified is greater than expiry
406recurringDelegationAmountZerozero amount specified
407delegationNotStartedDelegation period has not started yet
408recurringDelegationStartOnLandingRequiresExpirystart_ts of 0 (start on landing) requires a non-zero expiry
500planSunsetPlan is in sunset status
501planExpiredPlan has expired
502invalidPlanPdaInvalid Plan PDA derivation
503invalidSubscriptionPdaInvalid subscription PDA derivation
504notPlanOwnerCaller is not the plan owner
505subscriptionPlanMismatchSubscription does not belong to this plan
506unauthorizedDestinationDestination not in plan whitelist
507invalidNumDestinationsNo valid destinations provided
508subscriptionCancelledSubscription cancelled and past valid period
509subscriptionAlreadyCancelledSubscription already cancelled
510subscriptionNotCancelledSubscription is not cancelled
511invalidEndTsEnd timestamp must be zero or in the future
512invalidPlanStatusInvalid plan status value
513planImmutableAfterSunsetPlan cannot be updated after sunset
514sunsetRequiresEndTsSunset requires a non-zero end timestamp
515planNotExpiredPlan must be expired to delete
516planClosedPlan account has been closed
517alreadySubscribedAlready subscribed to this plan
518planAlreadyExistsPlan account already exists
519planTermsMismatchSubscription plan terms do not match the current plan
520planEndTsCannotExtendA finite plan end timestamp can only be shortened, not removed or extended
600invalidEventAuthorityInvalid event authority PDA
601invalidEventDataInvalid event data
602invalidEventTagInvalid event tag prefix
603invalidEventDiscriminatorUnknown event discriminator
604invalidSelfProgramSelf program account does not match this program