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 ('ve run out of api credits. Visit the billing page in our developer console to purchase more!
Not Enough CreditsStaging
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.