Checkout step in Azure Pipelines is giving Smudge downloading error when LFS is set to true

  Kiến thức lập trình

I have in my Azure Pipeline, checkout step with lfs:true in my release branch.

steps:
- checkout: self
  clean: true
  lfs: true

When the build runs, it gives the following error.

Error downloading object:
/Path/to/DLL file (31a4c7b): Smudge
error: Error downloading
/Path/to/DLL file
(31a4c7bxxxxxxxxxxxxxxxxxxxx):
batch response: Expected json type, got: “text/plain; charset=utf-8”

The trouble is when I run the same checkout for master branch in another pipeline, it works fine. Any suggestions or possible directions?

LEAVE A COMMENT