Skip to content

cannot obtain an api_id or api_hash #4661

@wardcrisr

Description

@wardcrisr

Code that causes the issue

Image

Expected behavior

I keep encountering an “ERROR” box every time I click “Create application” on the my.telegram.org/apps page, even though I have:

  1. Entered a valid App title and a Short name (5–32 alphanumeric characters),
  2. Selected “Desktop” as the platform,
  3. Cleared browser cache and tried in incognito mode,
  4. Switched networks (mobile hotspot, home broadband, VPN),
  5. Waited 24–72 hours and retried.

None of these steps has worked, and I still cannot obtain an api_id or api_hash. The network console shows no helpful error messages. Please help me resolve this as soon as possible. Thank you!

Actual behavior

ERROR

Traceback

No response

Telethon version

1.0

Python version

3.19

Operating system (including distribution name and version)

windows11

Other details

No response

Checklist

  • The error is in the library's code, and not in my own.
  • I have searched for this issue before posting it and there isn't an open duplicate.
  • I ran pip install -U https://github.com/LonamiWebs/Telethon/archive/v1.zip and triggered the bug in the latest version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions