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.
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.