---
title: "Publisher Troubleshooting Guide"
description: "Fix common AdsGram integration issues: wrong Web app url errors, debug mode tips, and what to check when ads don't display in your mini app."
---

# Troubleshooting

## How to debug mini apps?
If you don't see ads, in most cases you will see detailed error in console and alert.
In order to open the console:
- Check instruction from telegram about [Debug Mode](https://core.telegram.org/bots/webapps#debug-mode-for-mini-apps) mini-apps
- If your app only available from mobile try to use a lightweight console like [Eruda](https://www.npmjs.com/package/eruda)


## Common mistakes
- wrong `Web app url` for `blockId`. You will see error alert like on the image below and error in network tab. Check [create platform](./get-block-id#create-ad-platform) guide.
```
AdsgramError
Platform App url for blockId = <blockId> not equal to <your app url>
Create new platform with app url <your app url> and new blockId for this platform.
```
![Wrong referrer error](./images/wrong_referrer_error.webp =500x){zoom-forbidden}
- launch app in browser environment. We expect that you open your app inside Telegram.
- forget to remove or set to false `debug` parameter when release to production.

If you don't see any errors in console and in network tab you see success request to `api.adsgram.ai` but don't see ads, please, contact [AdsGram support](https://t.me/adsgram_supportbot)
