❓ Troubleshooting
Common issues and solutions for XRP Genie projects.
🚀 CLI Issues
Command Not Found: xrp-genie
# Solution: Make sure you're in the cloned repo
cd xrp-genie
./cli/bin/xrp-genie init my-app
Permission Denied
# Solution: Make CLI executable
chmod +x ./cli/bin/xrp-genie
🔐 Web3Auth Issues
“Failed to fetch project configurations”
Cause: Client ID or environment mismatch
Solutions:
- Check client ID is correct
- Verify Web3Auth environment (Sapphire Devnet vs Mainnet)
- Add
localhost:3000
to allowed origins - Use demo client ID for testing:
BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ
“Insufficient balance” Error
Cause: Account has 0 XRP
Solution: Click “Fund Account (Testnet)” button in the app
📱 Xaman Issues
QR Code Not Appearing
Cause: Missing API credentials
Solution:
- Check
.env.local
has XUMM_API_KEY and XUMM_API_SECRET - Restart development server
- Verify credentials at apps.xumm.dev
“Invalid Payload” Error
Cause: Network mismatch
Solution: Ensure CLI network selection matches your XUMM app setup
🌐 Network Issues
Transactions Failing
Causes: Network configuration or insufficient balance
Solutions:
- Check you’re on the correct network (testnet vs mainnet)
- Verify account has sufficient XRP (10+ XRP minimum)
- Use faucet for testnet funding
🔧 Development Issues
.env.local
Not Working
Solution:
- Restart development server after changes
- Check file is in project root (not template root)
- Verify no syntax errors in .env.local
TypeScript Errors
Solution:
# Clear Next.js cache
rm -rf .next
npm run dev
📞 Getting Help
If you’re still having issues:
- Check docs: Web3Auth Setup or Xaman Setup
- Search issues: GitHub Issues
- Open new issue: Include error messages and steps to reproduce
🔍 Debug Tips
Enable Verbose Logging
# Add to your .env.local
DEBUG=true
Check Browser Console
- Open Developer Tools (F12)
- Look for errors in Console tab
- Check Network tab for failed API calls
Verify Environment
# Check current directory
pwd
# Verify files exist
ls -la .env.local
ls -la package.json