Skip to main content

Error Code Reference

The program defines the following custom errors.

ErrorMeaning
NameTooLongName exceeds the allowed length
NameEmptyName is empty
JsonTooLongJSON data exceeds the allowed length
OwnerMismatchCaller is not the owner
RenterMismatchCaller is not the renter
AlreadyLeasedName is already leased
RentTooLongRental period is too long
SaleDisabledSale is disabled
RentDisabledRental is disabled
YearsTooSmallRegistration period is too small
DaysTooSmallRental period is too small
UnauthorizedCaller is not authorized
InvalidTreasuryInvalid treasury account
InvalidTreasuryConfigInvalid treasury configuration
InvalidMetaConfigInvalid metadata configuration
InvalidJsonFormatInvalid JSON format
MintMismatchToken mint does not match
MintMismatchPayTokenPayment token mint does not match
TokenAccountOwnerMismatchToken account owner does not match
FeeReceiverMismatchFee receiver does not match
NameCloserMismatchName closer does not match
InvalidCharacterName contains an invalid character
NameInUseName is already in use
NameExpiredName has expired
NameNotExpiredName has not expired
RentExpiredRental period has expired
InvalidTokenMintInvalid token mint
InvalidTokenAccountInvalid token account
InvalidTokenProgramInvalid token program
MissingEcoSeparatorEcosystem separator is missing
InvalidEntityNameInvalid entity name
MaxEntityLevelIsFourMaximum entity level is 4
ConfigPdaNotFoundConfiguration PDA was not found
DeserializationErrorAccount deserialization failed
InvalidFeeReceiverInvalid fee receiver
InvalidMetaPdaInvalid metadata PDA
ParentNotCreatedParent entity has not been created
MissingParentMetaAccountParent metadata account is missing
InvalidReceiverPdaInvalid receiver PDA
InvalidFeesInvalid fee configuration
InvalidEnabledInvalid enabled value