To update my submodules, I use git submodule update --init --recursive. For all the submodules, I get an output similar to this:
GitLab: The project you were looking for could not be found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
However when I clone the repository directly with git clone, everything works fine.
My .gitmodules file looks like this:
[submodule "External/{repo}"]
path = External/{repo}
url = ../{repo}
I do have the repo cloned in the parent directory, so I know I have access privileges and am able to clone it normally.
What could be causing this behavior?