406 - Not Acceptable

exception pyrogram.errors.exceptions.not_acceptable_406.NotAcceptable(x: int = None, query_type: type = None)

Not Acceptable

CODE = 406

RPC Error Code

Type:int
exception pyrogram.errors.exceptions.not_acceptable_406.AuthKeyDuplicated(x: int = None, query_type: type = None)

Authorization error - you must delete your session file and log in again with your phone number

ID = 'AUTH_KEY_DUPLICATED'

RPC Error ID

Type:str
exception pyrogram.errors.exceptions.not_acceptable_406.FilerefUpgradeNeeded(x: int = None, query_type: type = None)

The file reference has expired - you must obtain the original media message

ID = 'FILEREF_UPGRADE_NEEDED'

RPC Error ID

Type:str