web@prefect.0:~$ env | grep PREFECT
PREFECT_ROOT=/app
PREFECT__CLOUD__AGENT__AUTH_TOKEN=*****
PREFECT__CLOUD__AUTH_TOKEN=*****
web@prefect.0:~$ prefect register flow --file path/to/file.py -p Production
Traceback (most recent call last):
  File "/app/.global/bin/prefect", line 10, in <module>
    sys.exit(cli())
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/app/.global/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/app/.global/lib/python3.8/site-packages/prefect/cli/register.py", line 93, in flow
    flow.register(project_name=project)
  File "/app/.global/lib/python3.8/site-packages/prefect/core/flow.py", line 1647, in register
    registered_flow = client.register(
  File "/app/.global/lib/python3.8/site-packages/prefect/client/client.py", line 762, in register
    project = self.graphql(query_project).data.project  # type: ignore
  File "/app/.global/lib/python3.8/site-packages/prefect/client/client.py", line 315, in graphql
    raise ClientError(result["errors"])
prefect.utilities.exceptions.ClientError: [{'path': ['project'], 'message': 'field "project" not found in type: \'query_root\'', 'extensions': {'path': '$.selectionSet.project', 'code': 'validation-failed', 'exception': {'message': 'field "project" not found in type: \'query_root\''}}}]