simonlkch

Results 16 comments of simonlkch

> google.api_core.exceptions.Unauthenticated: 401 Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. [reason: "ACCESS_TOKEN_EXPIRED" 你重新下載key.json 就可以啦

下載到電腦後修改, 直接上傳到emby/jellyfin

today, telegram have already release the premium function. This change is necessary to support 4GB files uploaded by [premium accounts](https://telegram.org/blog/700-million-and-premium#telegram-premium). Basiclly, premium accounts have x2 quota to compare the free...

i dont know how to debug the code. but the concept is right. one more step for checking the user is_premium flag.

![image](https://user-images.githubusercontent.com/3492546/175571940-19e8e549-f271-4fde-a8fc-5c75119e2d11.png) I check the source code, this project is using telethon, in telethon documention, The User Class don't have the is_premium flag. Maybe need telethon to update their library first....

just test it, telethon have set the file size limit, so need wait telethon to upgrade https://github.com/LonamiWebs/Telethon/blob/dd51aea4db90fd255a14e27192e221c70b45e105/telethon/_misc/utils.py#L1057

> never say never, you can modify and try it

> @simonlkch Can't we just easily fork & edit that condition & then install our own version of telethon ? > > `pip3 install -U https://github.com/$username/telethon/archive/master.zip` > > Also on...

> Use these commands to set environment variables > > ``` > export API_ID=8191919 > export API_HASH="8hwhw91j282uw8wj" > ``` > > And so on... how can i use .env instead...

Here is a work around to skip this error. 1. Create a new connection 2. use this connection to connect CRM via FetchXMLBuilder 3. then the metadata receive successfully.