Telegram Troubleshooting
Solutions to common Telegram bot issues.
Bot Not Responding
Symptoms
- Bot doesn't respond to commands
- Messages are sent but no reply
Solutions
-
Check bot is admin
- Group Settings → Administrators
- Bot must be listed as admin
-
Verify bot is in group
- Search for the bot in group members
- Re-add if not found
-
Test with /help
/helpIf this works, bot is responding
-
Check webhook (self-hosted)
- Verify webhook URL is set correctly
- Check Cloudflare Worker logs
/setup Failed
"Brand not found"
- Verify Brand ID is correct
- Must be 42 characters
- Must start with
0x - Find in Partner Portal → Settings → Account
"Not an admin"
- Add bot as group administrator
- Verify you have admin rights
- Try again after adding
"Already configured"
Group is already connected. Use /config to view settings.
Rewards Not Processing
Symptoms
- Users run
/dailybut don't get LTZ - GM/GN not being rewarded
Solutions
-
Check cooldown
- User may have already claimed today
- 24-hour cooldown is standard
-
Verify event is enabled
- Partner Portal → Events
- Check
telegram_daily_checkinis enabled
-
Check brand balance
- Partner Portal shows brand LTZ balance
- Fund if empty
-
Verify event exists
- Check Partner Portal → Events
- Create if missing
GM/GN Not Detecting
Symptoms
- Users say "gm" but don't get rewarded
Solutions
-
Check event is enabled
- Partner Portal → Events
gm_checkinshould be enabled
-
Verify cooldown
- User may have already claimed today
-
Check message format
- "gm" must be at the start of message
- Supported:
gm,good morning,morning!
-
Verify bot can see messages
- Bot needs to be admin to see all messages
Streaks Resetting Unexpectedly
Symptoms
- User's streak reset to 1
- "I checked in yesterday!"
Solutions
-
Grace period expired
- Check when last check-in was
- Default grace: 24 hours
-
Timezone differences
- Resets at midnight UTC
- Users in different timezones may be confused
-
Missed a day
- Grace period starts from last check-in time
- Not from midnight
Balance Not Showing
Symptoms
/balanceshows 0 or error
Solutions
-
Wallet not created yet
- First reward creates wallet
- User needs to claim something first
-
API connectivity issue
- Try again in a few minutes
- Check status.loyalteez.app
Perks Not Loading
Symptoms
/perksshows empty or error
Solutions
-
No perks created
- Create perks in Partner Portal
- Perks → Create Perk
-
Perks not enabled
- Check perk status in Partner Portal
-
API issue
- Try again later
Claim Failed
Symptoms
/claimreturns error
Solutions
-
Insufficient balance
- Check balance with
/balance - Earn more LTZ before claiming
- Check balance with
-
Perk sold out
- Check availability with
/perks
- Check availability with
-
Already claimed (max per user)
- Some perks have per-user limits
-
Perk doesn't exist
- Verify perk_id is correct
- Check
/perksfor valid IDs
Self-Hosted Deployment Issues
Webhook Not Working
-
Verify URL is correct
curl -X POST "https://api.telegram.org/bot<TOKEN>/getWebhookInfo" -
Check Worker is deployed
- Cloudflare Dashboard → Workers
- Verify deployment
-
Check Worker logs
- Cloudflare Dashboard → Workers → Logs
Environment Variables
Ensure all secrets are set:
TELEGRAM_BOT_TOKENSUPABASE_PUBLISH_KEYSUPABASE_SECRET_KEY
KV Namespace
Ensure KV namespace is created and bound in wrangler.toml.
Getting Help
- Check this guide first
- Review Partner Portal for configuration issues
- Contact support via Partner Portal
- Join Loyalteez Discord for community help