Technical••6 min read
Token Creation Fails on Solana: Common Errors & Solutions
Troubleshooting guide for common Solana token creation errors. Learn how to fix transaction failures and avoid common mistakes.
Token Creation Fails on Solana: Common Errors & Solutions
Creating tokens on Solana is usually straightforward—until it isn't. Transaction failures, mysterious error codes, and rejected signatures can turn a simple token creation into hours of frustration.
This guide covers the most common Solana token creation errors and provides actionable solutions to fix them.
Quick Troubleshooting Checklist
Before diving into specific errors, verify these basics:
✅ **Sufficient SOL balance** - At least 0.05 SOL for token creation
✅ **Correct network** - Mainnet-beta for production, devnet for testing
✅ **Wallet connected** - Phantom/Solflare properly connected
✅ **RPC endpoint responsive** - Network not congested
✅ **Latest wallet version** - Update Phantom if outdated
✅ **Clear browser cache** - Sometimes resolves weird issues
Common Error Categories
1. Insufficient Funds Errors
2. Transaction Simulation Errors
3. Network & RPC Errors
4. Authority & Permission Errors
5. Metadata Upload Errors
6. Phantom Wallet Errors
---
1. Insufficient Funds Errors
Error: "Insufficient funds for transaction"
**What it means:**
Your wallet doesn't have enough SOL to pay for the transaction.
**Causes:**
- Not enough SOL in wallet
- Transaction fee estimate too low
- Priority fee not accounted for
**Solution:**
**Check your balance:**
```bash
solana balance
```
**Minimum SOL needed:**
- Token creation: 0.002-0.01 SOL
- Metadata account: 0.005-0.01 SOL
- Authority revocation: 0.001 SOL each
- Buffer for fees: 0.01 SOL
- **Total recommended: 0.05 SOL**
**Fix:**
1. Add more SOL to your wallet
2. If on devnet, get free SOL: `solana airdrop 2`
3. Retry transaction
---
Error: "Attempt to debit account but found no record of a prior credit"
**What it means:**
You're trying to spend from an account with no SOL balance.
**Causes:**
- Wrong wallet connected
- Using unfunded account
- On wrong network (devnet vs mainnet)
**Solution:**
1. Verify wallet address in Phantom
2. Check network (Settings → "Change Network")
3. Fund the correct wallet
4. Reconnect wallet to dApp
---
2. Transaction Simulation Errors
Error: "Transaction simulation failed: Blockhash not found"
**What it means:**
The transaction took too long to submit and the blockhash expired.
**Causes:**
- Network congestion
- Slow RPC endpoint
- User delayed signing
**Solana blockhashes expire after ~60 seconds.**
**Solution:**
**Immediate fix:**
- Retry the transaction immediately
- Don't wait between building and signing transaction
**Long-term fix:**
- Use faster RPC endpoints (Helius, QuickNode, Triton)
- Enable priority fees for faster processing
- Sign transactions quickly after they appear
---
Error: "Transaction simulation failed: Error processing Instruction 0"
**What it means:**
Something is wrong with the first instruction in your transaction.
**Causes:**
- Invalid token parameters (decimals > 9)
- Wrong program ID
- Malformed instruction data
- Insufficient account space
**Solution:**
**Check your inputs:**
- **Decimals:** Must be 0-9 (9 is standard)
- **Supply:** Must be positive number
- **Name/Symbol:** ASCII characters only, no emojis
**Common fixes:**
```typescript
// ❌ Wrong
decimals: 10 // Too high
supply: -1000 // Negative
symbol: "🚀TOKEN" // Emoji
// ✅ Correct
decimals: 9
supply: 1000000
symbol: "TOKEN"
```
---
Error: "Transaction simulation failed: Custom program error: 0x1"
**What it means:**
Generic error from the Token Program (error code 1 = "Insufficient Funds").
**Causes:**
- Not enough SOL for rent
- Account not rent-exempt
- Missing lamports for account creation
**Solution:**
**For token creation:**
Ensure you have at least 0.01 SOL for rent-exempt accounts.
**Check rent requirement:**
```bash
solana rent 165 Mint account size
Output: 0.00144768 SOL
```
**Fix:**
Add more SOL to wallet and retry.
---
3. Network & RPC Errors
Error: "Failed to fetch" or "Network request failed"
**What it means:**
Can't connect to Solana RPC endpoint.
**Causes:**
- RPC endpoint down
- Network congestion
- Rate limiting
- Firewall/VPN blocking requests
**Solution:**
**Try different RPC:**
**Free options:**
- `https://api.mainnet-beta.solana.com` (official, but slow)
- `https://api.devnet.solana.com` (devnet)
**Paid options (recommended):**
- Helius (https://helius.dev)
- QuickNode (https://quicknode.com)
- Triton (https://triton.one)
**In TokenGen:**
We automatically handle RPC fallbacks, but you can change networks in your wallet settings.
**Troubleshooting steps:**
1. Check [status.solana.com](https://status.solana.com) for outages
2. Try different RPC endpoint
3. Disable VPN temporarily
4. Check firewall settings
5. Switch to mobile hotspot to rule out network issues
---
Error: "429 Too Many Requests"
**What it means:**
You've exceeded the RPC rate limit.
**Causes:**
- Too many requests in short time
- Free RPC tier limits
- Shared IP rate limiting
**Solution:**
**Immediate:**
- Wait 60 seconds and retry
- Use different RPC endpoint
**Long-term:**
- Get dedicated RPC from Helius/QuickNode
- Implement request throttling
- Use paid tier for higher limits
---
4. Authority & Permission Errors
Error: "Error: unknown signer"
**What it means:**
The transaction requires a signature from a key that wasn't provided.
**Causes:**
- Wrong wallet connected
- Authority mismatch
- Missing co-signer
**Solution:**
**Verify wallet:**
1. Disconnect wallet in Phantom
2. Reconnect with correct account
3. Ensure you're using the wallet that created the token
**For authority operations:**
You must sign with the current authority wallet, not a different one.
---
Error: "Error: Signature verification failed"
**What it means:**
The signature provided doesn't match the expected signer.
**Causes:**
- Corrupted transaction
- Wrong private key
- Hardware wallet issues
**Solution:**
**For software wallets:**
1. Refresh the page
2. Disconnect and reconnect wallet
3. Clear browser cache
4. Retry transaction
**For hardware wallets (Ledger):**
1. Ensure Ledger is unlocked
2. Solana app is open on device
3. Enable "Allow blind signing" in Solana app settings
4. Retry transaction
---
5. Metadata Upload Errors
Error: "Failed to upload image to Arweave"
**What it means:**
Image upload to permanent storage failed.
**Causes:**
- Image too large (>1MB)
- Unsupported image format
- Arweave network issues
- Insufficient funds for storage
**Solution:**
**Image requirements:**
- **Format:** PNG or JPG only
- **Size:** Under 1MB (ideally under 200KB)
- **Dimensions:** 512×512px recommended
**Fix steps:**
1. Compress image (use tinypng.com)
2. Convert to PNG/JPG if needed
3. Ensure image is under 1MB
4. Retry upload
**Alternative:**
- Upload image to Arweave manually using [bundlr.network](https://bundlr.network)
- Use IPFS as fallback (less permanent)
---
Error: "Metadata account already exists"
**What it means:**
A metadata account for this token mint already exists.
**Causes:**
- Retrying failed metadata creation
- Token was created without metadata, then you tried to add it
**Solution:**
**Check existing metadata:**
```bash
metaboss decode mint --mint
```
**If metadata exists but is wrong:**
Update it instead of creating new:
```bash
metaboss update uri \
--mint
--uri https://arweave.net/new-uri
```
**If no metadata exists but error persists:**
The account might be corrupted. Contact support or create new token.
---
6. Phantom Wallet Errors
Error: "Transaction rejected by user"
**What it means:**
You clicked "Reject" or "Cancel" in Phantom.
**Causes:**
- Accidental rejection
- Unclear transaction preview
- Suspicious transaction details
**Solution:**
**If accidental:**
Simply retry the transaction.
**If transaction looks suspicious:**
- Verify you're on the correct website
- Check transaction details in Phantom
- Ensure fees are reasonable (~0.01-0.03 SOL)
- If unsure, don't proceed—research first
---
Error: "This dApp may be trying to do something suspicious"
**What it means:**
Phantom detected unusual transaction patterns.
**Causes:**
- Malformed transaction
- Too many instructions
- Suspicious account interactions
- Known scam patterns
**This is Phantom's security feature.**
**Solution:**
**Legitimate causes:**
- Complex transactions (multiple instructions)
- Unfamiliar programs
- New token creation patterns
**Verify transaction is safe:**
1. Check you're on correct website (e.g., tokengen.app)
2. Review transaction in Phantom's "Sim complete" view
3. Verify destination accounts
4. Check fees are normal
**For TokenGen users:**
TokenGen is built to avoid these warnings. If you see this:
1. Refresh the page
2. Reconnect wallet
3. Try again
4. Contact support if persists
**For other platforms:**
Consider using a Phantom-compliant platform like TokenGen to avoid warnings.
---
7. Token Not Appearing in Wallet
Issue: "Created token but don't see it in Phantom"
**What it means:**
Token was created successfully but isn't displayed.
**Causes:**
- Token account not created
- Phantom cache issue
- No metadata (shows as address)
- Wrong network
**Solution:**
**Step 1: Verify token exists**
Check on Solscan:
1. Go to [solscan.io](https://solscan.io)
2. Enter your wallet address
3. Check "Tokens" tab
4. Look for your token mint address
**Step 2: Import token manually**
If token exists but not visible:
1. Open Phantom
2. Click "+" or "Manage Token List"
3. Search for token address
4. Click "Add"
**Step 3: Create token account**
If token exists but you have 0 balance:
```bash
spl-token create-account
spl-token mint
```
**Step 4: Add metadata**
If token shows as address (no name/logo):
- Token needs metadata
- See [Metadata Guide](/blog/add-metadata-to-solana-token-guide)
---
Error Code Reference
| Error Code | Meaning | Common Fix |
|------------|---------|------------|
| 0x0 | Success | Not an error |
| 0x1 | Insufficient funds | Add more SOL |
| 0x3 | Already in use | Account already exists |
| 0x5 | Invalid instruction | Check parameters |
| 0x6 | Invalid account data | Account corrupted |
| 0x7 | Account not rent exempt | Add more SOL for rent |
| 0x8 | Unsupported signer | Wrong wallet signed |
Prevention Tips
Before Creating Tokens
✅ **Test on devnet first** - Always test before mainnet
✅ **Double-check all inputs** - Name, symbol, decimals, supply
✅ **Have extra SOL** - 0.05 SOL minimum, 0.1 SOL recommended
✅ **Use stable network** - Avoid peak congestion times
✅ **Verify RPC endpoint** - Use reliable RPC (Helius, QuickNode)
✅ **Update Phantom** - Ensure latest version
✅ **Clear cache** - Fresh start prevents weird issues
During Token Creation
✅ **Review transactions carefully** - Read what you're signing
✅ **Don't rush** - But don't delay (blockhash expiry)
✅ **Save transaction signatures** - For troubleshooting later
✅ **Screenshot confirmations** - Proof of success
✅ **Verify on Solscan immediately** - Confirm token creation
After Token Creation
✅ **Test transfers** - Send small amount to another wallet
✅ **Verify metadata** - Check name/logo display correctly
✅ **Check authorities** - Confirm mint/freeze status as intended
✅ **Document mint address** - Save for future reference
When to Get Help
Contact support if:
❌ Error persists after multiple retries
❌ Funds deducted but token not created
❌ Transaction signature succeeds but token doesn't exist
❌ Phantom shows success but Solscan shows failure
❌ Error code not in documentation
❌ Suspected bug in platform
**For TokenGen support:**
Check our [documentation](/docs) or create a GitHub issue.
**For Solana issues:**
- Solana Discord: [discord.gg/solana](https://discord.gg/solana)
- Solana Stack Exchange: [solana.stackexchange.com](https://solana.stackexchange.com)
**For Phantom issues:**
- Phantom Support: [help.phantom.app](https://help.phantom.app)
- Phantom Discord
Debugging Tools
1. Solana Explorer
**URL:** [explorer.solana.com](https://explorer.solana.com)
**Use for:**
- Verifying transactions
- Checking account state
- Viewing transaction logs
2. Solscan
**URL:** [solscan.io](https://solscan.io)
**Use for:**
- User-friendly transaction viewing
- Token information
- Authority status
3. Solana CLI
**Install:**
```bash
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
```
**Use for:**
- Checking balances
- Confirming transactions
- Advanced troubleshooting
4. Transaction Logs
**In Phantom:**
Click transaction → View on Explorer → "Logs" tab
**What to look for:**
- Red error messages
- Program logs
- Instruction failures
Advanced Troubleshooting
Recovering from Failed Transactions
**If transaction failed mid-creation:**
1. **Check if accounts were created:**
```bash
solana account
```
2. **Check SOL balance:**
```bash
solana balance
```
3. **Verify network state:**
```bash
solana cluster-version
solana transaction-count
```
4. **Re-attempt with new blockhash:**
Most platforms handle this automatically. If using CLI, retry the command.
Network Congestion Strategies
**During high congestion:**
1. **Increase priority fees:**
Add `--with-compute-unit-price 10000` to CLI commands
2. **Use faster RPC:**
Switch to premium RPC (Helius, QuickNode)
3. **Wait for off-peak hours:**
Nights/weekends typically less congested
4. **Split operations:**
Create token first, add metadata later
Testing Checklist (Devnet)
Before mainnet token creation:
✅ Create token on devnet
✅ Add metadata on devnet
✅ Test minting tokens
✅ Test token transfers
✅ Test authority revocation
✅ Verify metadata displays in Phantom
✅ Check token on Solscan (devnet)
✅ Simulate entire flow without errors
**Only proceed to mainnet after successful devnet testing.**
Conclusion
Most token creation errors fall into a few categories:
- **Insufficient funds** (add more SOL)
- **Network issues** (use better RPC)
- **Invalid inputs** (check decimals, supply, etc.)
- **Wallet problems** (reconnect, update Phantom)
**Key takeaways:**
✅ Always test on devnet first
✅ Have 0.05+ SOL in wallet
✅ Use reliable RPC endpoints
✅ Verify inputs before submitting
✅ Save transaction signatures
✅ Check Solscan for verification
Create Tokens Without Errors
TokenGen minimizes errors with:
- ✅ Input validation (catches errors before submission)
- ✅ Automatic RPC fallbacks
- ✅ Clear error messages
- ✅ Phantom-compliant transactions
- ✅ Built-in devnet testing
[Create your token reliably →](/builder)
Additional Resources
- [How to Create a Solana Token Without Coding](/blog/how-to-create-solana-token-without-coding)
- [Add Metadata to Your Token](/blog/add-metadata-to-solana-token-guide)
- [Phantom Wallet Token Creator Guide](/blog/phantom-wallet-token-creator-guide)
---
**Disclaimer:** This guide covers common errors but cannot address all edge cases. Always test on devnet first. This is not financial or investment advice.
Ready to create your token?
Start building on Solana with TokenGen today.