Errors

Understand and resolve common errors within the Crossmint system

Crossmint offers a few different kinds of errors. See below for instructions to resolve errors you may have seen.

Error MessageEnvironmentResolution
Not Enough CreditsProduction (https://www.crossmint.com)You've run out of api credits. Visit the billing page in our developer console to purchase more!

https://www.crossmint.com/console/billing
Not Enough CreditsStaging
(https://staging.crossmint.com)
You've run out of api credits on staging. Reach out to [email protected] with the subject "More Staging API Credits" to receive a top up of staging credits.
Infinite loading on checkoutStaging / ProductionCheck your chrome developer console to view the error. If the error does not make any sense please contact the support team in our discord.
ERC20 transfer amount doesn't match totalPriceStaging / ProductionEnsure that the price you're passing in the totalPrice attribute of the mintConfig matches what you have set in the smart contract. Note that the totalPrice attribute expects it's value to be in full units. For example if the price in the contract should be 1 USDC, then you pass "1" here. In the contract the price will be set as 1_000_000 since USDC is a 6 decimal currency.