kevin
04/22/2021, 7:07 PMFile "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 978, in create_flow_run
res = self.graphql(create_mutation, variables=dict(input=inputs))
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 275, in graphql
result = <http://self.post|self.post>(
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 230, in post
response = self._request(
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 373, in _request
token = self.get_auth_token()
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 503, in get_auth_token
self._refresh_access_token()
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 618, in _refresh_access_token
payload = self.graphql(
File "/usr/local/lib/python3.8/site-packages/prefect/client/client.py", line 294, in graphql
raise ClientError(result["errors"])
prefect.utilities.exceptions.ClientError: [{'path': ['refresh_token'], 'message': 'Unauthorized', 'extensions': {'code': 'FORBIDDEN'}}]
nicholas
kevin
04/22/2021, 7:43 PMlogin_to_tenant
client = Client()
client.login_to_tenant()
nicholas
Client
and it should workkevin
04/22/2021, 8:02 PMClient()
constructor it should pick up the creds from my .env
file right?nicholas
kevin
04/22/2021, 10:55 PMnicholas
kevin
04/22/2021, 10:56 PMnicholas