File "/telegram-onedrive/modules/handlers/transfer.py", line 43, in transfer_handler
onedrive.stream_upload(buffer, name)
File "/telegram-onedrive/modules/onedrive/init.py", line 88, in stream_upload
request.send(data=buffer)
File "/usr/local/lib/python3.8/site-packages/onedrivesdk/request_base.py", line 132, in send
self._client.auth_provider.authenticate_request(self)
File "/telegram-onedrive/modules/onedrive/_rewrite.py", line 71, in authenticate_request
self.refresh_token()
File "/usr/local/lib/python3.8/site-packages/onedrivesdk/auth_provider.py", line 263, in refresh_token
self._session.refresh_session(rcont["expires_in"],
KeyError: 'expires_in'
File "/telegram-onedrive/modules/handlers/transfer.py", line 43, in transfer_handler onedrive.stream_upload(buffer, name) File "/telegram-onedrive/modules/onedrive/init.py", line 88, in stream_upload request.send(data=buffer) File "/usr/local/lib/python3.8/site-packages/onedrivesdk/request_base.py", line 132, in send self._client.auth_provider.authenticate_request(self) File "/telegram-onedrive/modules/onedrive/_rewrite.py", line 71, in authenticate_request self.refresh_token() File "/usr/local/lib/python3.8/site-packages/onedrivesdk/auth_provider.py", line 263, in refresh_token self._session.refresh_session(rcont["expires_in"], KeyError: 'expires_in'
This is the error that occurred recently
Originally posted by @ShamilSd-ux in https://github.com/hlf20010508/telegram-onedrive/issues/13#issuecomment-2063150874