Advertisement
Guest User

Untitled

a guest
Mar 2nd, 2023
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.18 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
  3. resp = await request_handler(request)
  4. File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
  5. resp = await handler(request)
  6. File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
  7. return await handler(request)
  8. File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 67, in security_filter_middleware
  9. return await handler(request)
  10. File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
  11. return await handler(request)
  12. File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
  13. return await handler(request)
  14. File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
  15. return await handler(request)
  16. File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
  17. return await handler(request)
  18. File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
  19. result = await result
  20. File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
  21. return await super().post(request, flow_id)
  22. File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
  23. result = await method(view, request, data, *args, **kwargs)
  24. File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
  25. result = await self._flow_mgr.async_configure(flow_id, data)
  26. File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 271, in async_configure
  27. result = await self._async_handle_step(
  28. File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
  29. result: FlowResult = await getattr(flow, method)(user_input)
  30. File "/config/custom_components/gtasks/config_flow.py", line 80, in async_step_config
  31. raise error
  32. File "/config/custom_components/gtasks/config_flow.py", line 73, in async_step_config
  33. self.gtasks_obj = await self.hass.async_add_executor_job(
  34. File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
  35. result = self.fn(*self.args, **self.kwargs)
  36. File "/config/custom_components/gtasks/gtasks_api.py", line 25, in __init__
  37. self._connect()
  38. File "/config/custom_components/gtasks/gtasks_api.py", line 41, in _connect
  39. self._creds.refresh(Request())
  40. File "/usr/local/lib/python3.10/site-packages/google/oauth2/credentials.py", line 335, in refresh
  41. ) = reauth.refresh_grant(
  42. File "/usr/local/lib/python3.10/site-packages/google/oauth2/reauth.py", line 349, in refresh_grant
  43. _client._handle_error_response(response_data, retryable_error)
  44. File "/usr/local/lib/python3.10/site-packages/google/oauth2/_client.py", line 69, in _handle_error_response
  45. raise exceptions.RefreshError(
  46. google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement