Common issues
Most common issues and their solutions
Application shows ‘no user is set’ error in local development environment
User data requires an application to be inside Telegram environment to be fetched. When debugging locally in a browser user data is naturally not available. You don’t need to do anything, the app will just work as intended when launched as a Telegram Mini App, so you can just disregard this error.
Events are not sent with BLOCKED_BY_CLIENT error
In a local development environment your browser extensions such as Adblock can interfere with the SDK. In this case you should disable Adblock-like extensions in your browser. Either way, Telegram Mini Apps do not support extensions, so your production app will not be affected.
How to debug Telegram Mini App live
This is really easy to debug your app inside Telegram in case something is wrong in production. You can find the official instruction here.