```how to understand what he is missing```
# ask-community
k
Copy code
how to understand what he is missing
n
Hi @Konstantin - can you show your project's directory structure?
k
I am not 100% sure but I think the repo should be of the form
namespace/project
. Maybe you repo should be
cartech/dwh
and you path should be
etl-flows/helloworld.py
? Is
etl-flows
a folder?
k
Copy code
if repo write down the project number, then everything will work without errors
in manual line: the project path (i.e., 'namespace/project') or ID
n
@Konstantin is
etl-flows
a folder?
k
no, project
Copy code
etl-flow is project
n
Hm ok - since that's a GitLab server, we don't have a way to check that your settings are correct. The things you should confirm: • The file exists with that name • Your host path is correct • That branch exists • You can fetch that project/repo with that token
k
This like won’t help you, but I do have a
Gitlab
example here
k
then we will have: flow.storage = GitLab( repo="kvnkho/prefect-gitlab/konstantin", path="myflow.py", ref="main")
Copy code
but it doesn't work like that
k
It’s hard for me to tell what your setup will look like exactly, but is to show a working example where my repo is
kvnkho/prefect-gitlab
and the file path is
myflow.py
.
k
it will look like this in the browser line: https://git.blabla.bla/cartech/dwh/etl-flows/-/tree/dev
k
Do you think it could be a connection issue? Do you need to be on a VPN, and is the agent on the VPN?
k
Copy code
yes, connect through VPN, there is an agent on the VPN side
k
I think you might have to add some logging statements here to see if the file exists in
contents
or log
projects
also