Are you using LFS via SSH, there is a similar issue for your reference here.
There are a couple of reasons why this error can occur:
You don't have permissions to access certain LFS object
Check if you have permissions to push to the project or fetch from the project.
Project is not allowed to access the LFS object
LFS object you are trying to push to the project or fetch from the project is not available to the project anymore. Probably the object was removed from the server.
Wrong version of LFS client used:
Check the version of Git LFS on the client machine with git lfs version
. Only version 0.6.0 and newer are supported.
Local git repository is using deprecated LFS API, Project is using deprecated LFS API
Check the Git config of the project for traces of deprecated API with git lfs -l
. If batch = false
is set in the config, remove the line and try using Git LFS client newer than 0.6.0.
Also , make sure you match the requirements, see this article for details.
And check if LFS supports for your environment, reference this similar thread.